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)
commit3b1c952c951d5ae91821386d692bc291e87a17b1
tree429a9e1d4527d193f6318160ccc38c70c9f6612b
parent10a9594563415855bd99678ea4f91dea792e5499
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