OpenCloudOS-Kernel/sound/soc/samsung
Kuninori Morimoto 21385a4faa
ASoC: samsung: i2s: 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/87wo9nx7it.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-21 17:05:54 +00:00
..
Kconfig ASoC: samsung: Rename Arndale card driver 2019-10-02 12:52:04 +01:00
Makefile ASoC: samsung: Rename Arndale card driver 2019-10-02 12:52:04 +01:00
arndale.c ASoC: samsung: Rename Arndale card driver 2019-10-02 12:52:04 +01:00
bells.c ASoC: samsung: bells: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:36 +00:00
dma.h ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
dmaengine.c ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
h1940_uda1380.c ASoC: samsung: h1940_uda1380: use modern dai_link style 2019-06-06 21:28:13 +01:00
i2s-regs.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
i2s.c ASoC: samsung: i2s: move .suspend/.resume to component 2020-01-21 17:05:54 +00:00
i2s.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
idma.c ASoC: samsung: Drop superfluous ioctl PCM ops 2019-12-11 15:58:41 +00:00
idma.h ASoC: samsung: idma: Convert to SPDX License Identifier 2019-04-19 16:50:17 +01:00
jive_wm8750.c ASoC: samsung: jive_wm8750: use modern dai_link style 2019-06-06 21:32:13 +01:00
littlemill.c ASoC: soc-core: find rtd via dai_link pointer at snd_soc_get_pcm_runtime() 2019-12-10 13:15:21 +00:00
lowland.c ASoC: samsung: lowland: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:39 +00:00
neo1973_wm8753.c ASoC: samsung: neo1973_wm8753: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:44 +00:00
odroid.c ASoC: samsung: odroid: fix a double-free issue for cpu_dai 2019-07-16 19:17:15 +01:00
pcm.c ASoC: samsung: pcm: Convert to SPDX License Identifier 2019-04-19 16:53:12 +01:00
pcm.h ASoC: samsung: pcm: Convert to SPDX License Identifier 2019-04-19 16:53:12 +01:00
regs-i2s-v2.h ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
regs-iis.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
rx1950_uda1380.c ASoC: samsung: rx1950_uda1380: use modern dai_link style 2019-06-06 21:30:55 +01:00
s3c-i2s-v2.c ASoC: samsung: Use pr_warn instead of pr_warning 2019-10-18 15:02:39 +02:00
s3c-i2s-v2.h ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
s3c24xx-i2s.c ASoC: samsung: s3c24xx-i2s: move .suspend/.resume to component 2020-01-21 17:04:03 +00:00
s3c24xx-i2s.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
s3c24xx_simtec.c ASoC: samsung: s3c24xx_simtec*: Convert to SPDX License Identifier 2019-04-19 16:54:45 +01:00
s3c24xx_simtec.h ASoC: samsung: s3c24xx_simtec*: Convert to SPDX License Identifier 2019-04-19 16:54:45 +01:00
s3c24xx_simtec_hermes.c ASoC: samsung: s3c24xx_simtec_hermes: use modern dai_link style 2019-06-06 21:30:41 +01:00
s3c24xx_simtec_tlv320aic23.c ASoC: samsung: s3c24xx_simtec_tlv320aic23: use modern dai_link style 2019-06-06 21:30:31 +01:00
s3c24xx_uda134x.c ASoC: samsung: s3c24xx_uda134x: use modern dai_link style 2019-06-06 21:30:21 +01:00
s3c2412-i2s.c ASoC: samsung: s3c2412-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:29 +01:00
s3c2412-i2s.h ASoC: samsung: s3c2412-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:29 +01:00
smartq_wm8987.c ASoC: samsung: smartq_wm8987: use modern dai_link style 2019-06-06 21:30:02 +01:00
smdk_spdif.c ASoC: samsung: smdk_spdif: use modern dai_link style 2019-06-06 21:27:53 +01:00
smdk_wm8580.c ASoC: samsung: smdk_wm8580: use modern dai_link style 2019-06-06 21:26:56 +01:00
smdk_wm8994.c ASoC: samsung: smdk_wm8994: consider CPU-Platform possibility 2019-06-28 15:15:42 +01:00
smdk_wm8994pcm.c ASoC: samsung: smdk_wm8994pcm: use modern dai_link style 2019-06-06 21:27:35 +01:00
snow.c ASoC: soc-core: find rtd via dai_link pointer at snd_soc_get_pcm_runtime() 2019-12-10 13:15:21 +00:00
spdif.c ASoC: samsung: spdif: move .suspend/.resume to component 2020-01-21 17:04:11 +00:00
spdif.h ASoC: samsung: spdif: Convert to SPDX License Identifier 2019-04-19 16:58:21 +01:00
speyside.c ASoC: samsung: speyside: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:48 +00:00
tm2_wm5110.c ASoC: soc-core: find rtd via dai_link pointer at snd_soc_get_pcm_runtime() 2019-12-10 13:15:21 +00:00
tobermory.c ASoC: soc-core: find rtd via dai_link pointer at snd_soc_get_pcm_runtime() 2019-12-10 13:15:21 +00:00