OpenCloudOS-Kernel/sound/soc/ti
Kuninori Morimoto 78dbafbd04
ASoC: ti: omap-mcpdm: 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>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/871rrvym3p.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-21 17:04:57 +00:00
..
Kconfig ASoC: ti: fix SND_SOC_DM365_VOICE_CODEC dependencies 2019-09-20 12:06:48 +01:00
Makefile ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00
ams-delta.c ASoC: ams-delta: Take control over audio mute GPIO pins 2019-09-09 10:47:24 +01:00
davinci-evm.c ASoC: ti: davinci-evm: Do not fail if the dai_set_sysclk returns -ENOTSUPP 2019-08-30 12:23:04 +01:00
davinci-i2s.c Merge branch 'asoc-5.4' into asoc-next 2019-09-09 14:55:20 +01:00
davinci-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-mcasp.c ASoC: ti: davinci-mcasp: Improve the sysclk selection 2019-12-09 18:35:37 +00:00
davinci-mcasp.h ASoC: ti: davinci-mcasp: Improve the sysclk selection 2019-12-09 18:35:37 +00:00
davinci-vcif.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
edma-pcm.c ASoC: ti: edma-pcm: Fix for legacy dma_slave_map based channel lookup 2019-08-30 12:22:46 +01:00
edma-pcm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
n810.c ASoC: ti: Mark expected switch fall-throughs 2019-07-31 12:07:03 +01:00
omap-abe-twl6040.c ASoC: ti: omap-abe-twl6040: consider CPU-Platform possibility 2019-06-28 15:19:05 +01:00
omap-dmic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-dmic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-hdmi.c ASoC: ti: omap-hdmi: consider CPU-Platform possibility 2019-06-28 15:19:15 +01:00
omap-mcbsp-priv.h ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00
omap-mcbsp-st.c ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00
omap-mcbsp.c Merge branch 'asoc-5.2' into asoc-linus 2019-07-06 12:25:24 +01:00
omap-mcbsp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-mcpdm.c ASoC: ti: omap-mcpdm: move .suspend/.resume to component 2020-01-21 17:04:57 +00:00
omap-mcpdm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-twl4030.c ASoC: ti: omap-twl4030: consider CPU-Platform possibility 2019-06-28 15:19:35 +01:00
omap3pandora.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
osk5912.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
rx51.c ASoC: ti: rx51: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:52 +00:00
sdma-pcm.c ASoC: ti: sdma-pcm: Add back the flags parameter for non standard dma names 2019-10-28 13:11:01 +00:00
sdma-pcm.h ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00