projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d27ab1e
)
usb: gadget: u_audio: Drop superfluous ioctl PCM ops
author
Takashi Iwai
<tiwai@suse.de>
Tue, 10 Dec 2019 14:18:22 +0000
(15:18 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 15:24:12 +0000
(16:24 +0100)
PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link:
https://lore.kernel.org/r/20191210141822.18705-3-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_audio.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/function/u_audio.c
b/drivers/usb/gadget/function/u_audio.c
index
67c4c85
..
cf4f235
100644
(file)
--- a/
drivers/usb/gadget/function/u_audio.c
+++ b/
drivers/usb/gadget/function/u_audio.c
@@
-314,7
+314,6
@@
static int uac_pcm_null(struct snd_pcm_substream *substream)
static const struct snd_pcm_ops uac_pcm_ops = {
.open = uac_pcm_open,
.close = uac_pcm_null,
- .ioctl = snd_pcm_lib_ioctl,
.trigger = uac_pcm_trigger,
.pointer = uac_pcm_pointer,
.prepare = uac_pcm_null,