WSL2-Linux-Kernel/sound/soc/uniphier
Kuninori Morimoto 9b79b1cd16
ASoC: uniphier: 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/87zhejx7j4.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-21 17:05:16 +00:00
..
Kconfig ASoC: uniphier: add support for UniPhier PXs2 AIO 2018-03-09 15:49:42 +00:00
Makefile ASoC: uniphier: add support for UniPhier PXs2 AIO 2018-03-09 15:49:42 +00:00
aio-compress.c ASoC: uniphier: remove boilerplate from lisence comment 2018-04-27 11:26:24 +01:00
aio-core.c ASoC: uniphier: change functions to static 2018-07-30 12:02:32 +01:00
aio-cpu.c ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
aio-dma.c ASoC: uniphier: Drop superfluous ioctl PCM ops 2019-12-11 16:51:25 +00:00
aio-ld11.c ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
aio-pxs2.c ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
aio-reg.h ASoC: uniphier: add support for multichannel output 2018-07-30 12:02:31 +01:00
aio.h ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
evea.c ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:11:40 +01:00