]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: soc-core: remove dai_drv from snd_soc_component
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 20 Dec 2017 01:48:29 +0000 (01:48 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Dec 2017 15:41:09 +0000 (15:41 +0000)
commit58bf4179000a37aa9b0ee9ab2796f7573c77fff0
treeb4cf8b418d6ba9865cd03a4dfae7368698918af3
parent1e02dac395fadfff1f2c6bd90f1180f64a9cbebe
ASoC: soc-core: remove dai_drv from snd_soc_component

ALSA SoC has some duplicate parameter.
snd_soc_component::dai_drv is one of them.

Each DAI is keeping its driver as snd_soc_dai::driver,
and component has dai_list.
This means, we can reach to each DAI and its driver by using dai_link.
Thus, there is no need to keep DAI driver pointer on component.
Let's remove it

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c