]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pcm: Make ioctl ops optional
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Nov 2019 19:07:08 +0000 (20:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2019 13:37:50 +0000 (14:37 +0100)
commit54e2ddad319c35c1793a367719bdf72af45fe8fc
tree429a9e1d4527d193f6318160ccc38c70c9f6612b
parentb640a3acedb7f6871f1ef68debf9ec5bbc07d961
ASoC: pcm: Make ioctl ops optional

Now PCM core accepts the NULL ioctl ops as default, and passing a proper
ioctl ops is no longer mandatory.  Adjust soc_new_pcm() to allow also
the NULL for component ioctl ops, too.

Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20191121190709.29121-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-pcm.c