]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Allow NULL ioctl ops
authorTakashi Iwai <tiwai@suse.de>
Sun, 17 Nov 2019 08:53:03 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Nov 2019 18:39:54 +0000 (19:39 +0100)
commit0b44716477b22ecac4f4316f168b863b1b89cfae
tree9559f718dd7d43e613becd962bcc9d6d65c7885c
parentbccd490574c63623c9cd62a14507e7a15d33d21a
ALSA: pcm: Allow NULL ioctl ops

Currently PCM ioctl ops is a mandatory field but almost all drivers
simply pass snd_pcm_lib_ioctl.  For simplicity, allow to set NULL in
the field and call snd_pcm_lib_ioctl() as default.

Link: https://lore.kernel.org/r/20191117085308.23915-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c