OpenCloudOS-Kernel/sound/soc/mediatek
Kuninori Morimoto 7ec6b43125
ASoC: mediatek: move .suspend/.resume to component
There is no big difference at implementation for .suspend/.resume
between DAI driver and Component driver.
But because some driver is using DAI version, thus ALSA SoC needs
to keep supporting it, hence, framework becoming verbose.
If we can switch all DAI driver .suspend/.resume to Component driver,
we can remove verbose code from ALSA SoC.

Driver is getting its private data via dai->dev.
But dai->dev and component->dev are same dev, thus, we can convert
these. For same reason, we can convert dai->active to
component->active if necessary.

This patch moves DAI driver .suspend/.resume to Component driver

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/877e1nym4e.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-21 17:03:54 +00:00
..
common ASoC: mediatek: move .suspend/.resume to component 2020-01-21 17:03:54 +00:00
mt2701 ASoC: mediatek: move .suspend/.resume to component 2020-01-21 17:03:54 +00:00
mt6797 ASoC: mediatek: Use managed buffer allocation 2019-12-12 15:41:13 +00:00
mt8173 ASoC: mediatek: move .suspend/.resume to component 2020-01-21 17:03:54 +00:00
mt8183 ASoC: mediatek: mt8183-da7219-max98357: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:32 +00:00
Kconfig ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency 2019-10-23 17:45:34 +01:00
Makefile ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00