]> 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)
commit2a3e5c715da975201f990853bec4da767d7e3a22
tree9559f718dd7d43e613becd962bcc9d6d65c7885c
parentb27caaf9927c6a471776d4d5bfbe0eeba02e8191
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