ASoC: soc-dai: don't overwide dai->driver->ops
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 23 Apr 2020 23:14:43 +0000 (08:14 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 29 Apr 2020 12:27:35 +0000 (13:27 +0100)
commit479914ed779d408273fb3cac4c061dbe695f17cb
tree76aa3aedc65f57afcfa8147661098f1fb60301db
parentaa7b8230d4c3d0e691604dc908887904f52f2ab8
ASoC: soc-dai: don't overwide dai->driver->ops

Current ASoC overwrites null_dai_ops to dai->driver->ops if it
was NULL. But, we can remove it if framework always checks
dai->driver->ops when it uses DAI callbacks.
This patch do it, and removes null_dai_ops.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-By: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87zhb1sskc.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c
sound/soc/soc-dai.c