linux_dsm_epyc7002/sound/soc/mediatek/mt8173
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
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mt8173-afe-common.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt8173-afe-pcm.c ASoC: mediatek: move .suspend/.resume to component 2020-01-21 17:03:54 +00:00
mt8173-max98090.c ASoC: mediatek: mt8173-max98090: use modern dai_link style 2019-06-06 21:25:34 +01:00
mt8173-rt5650-rt5514.c ASoC: mediatek: mt8173-rt5650-rt5514: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:22 +00:00
mt8173-rt5650-rt5676.c ASoC: mediatek: mt8173-rt5650-rt5676: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:27 +00:00
mt8173-rt5650.c ASoC: mediatek: mt8173-rt5650: use modern dai_link style 2019-06-06 21:25:44 +01:00