diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-12-20 01:48:29 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-20 15:41:09 +0000 |
commit | 58bf4179000a37aa9b0ee9ab2796f7573c77fff0 (patch) | |
tree | b4cf8b418d6ba9865cd03a4dfae7368698918af3 /include/sound | |
parent | 1e02dac395fadfff1f2c6bd90f1180f64a9cbebe (diff) |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 1a7323238c49..871e1fabd701 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -858,7 +858,6 @@ struct snd_soc_component { struct list_head card_aux_list; /* for auxiliary bound components */ struct list_head card_list; - struct snd_soc_dai_driver *dai_drv; int num_dai; const struct snd_soc_component_driver *driver; |