linux_dsm_epyc7002/sound/soc/samsung
Krzysztof Kozlowski ec21bdc6dd
ASoC: samsung: s3c24xx-i2s: Fix build after removal of DAI suspend/resume
Commit 450312b640 ("ASoC: soc-core: remove DAI suspend/resume")
removed the DAI side suspend/resume hooks and switched entirely to
component suspend/resume.  However the Samsung SoC s3c-i2s-v2 driver was
not updated.

Move the suspend/resume hooks from s3c-i2s-v2.c to s3c2412-i2s.c while
changing dai to component which allows to keep the struct
snd_soc_component_driver const.

This fixes build errors:

    sound/soc/samsung/s3c-i2s-v2.c: In function ‘s3c_i2sv2_register_component’:
    sound/soc/samsung/s3c-i2s-v2.c:730:9: error: ‘struct snd_soc_dai_driver’ has no member named ‘suspend’
      dai_drv->suspend = s3c2412_i2s_suspend;

Reported-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 450312b640 ("ASoC: soc-core: remove DAI suspend/resume")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Link: https://lore.kernel.org/r/20200413124548.28197-1-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-04-14 12:16:22 +01:00
..
arndale.c
bells.c
dma.h
dmaengine.c
h1940_uda1380.c
i2s-regs.h
i2s.c
i2s.h
idma.c
idma.h
jive_wm8750.c
Kconfig
littlemill.c
lowland.c
Makefile
neo1973_wm8753.c
odroid.c
pcm.c
pcm.h
regs-i2s-v2.h
regs-iis.h
rx1950_uda1380.c
s3c24xx_simtec_hermes.c
s3c24xx_simtec_tlv320aic23.c
s3c24xx_simtec.c
s3c24xx_simtec.h
s3c24xx_uda134x.c
s3c24xx-i2s.c
s3c24xx-i2s.h
s3c2412-i2s.c
s3c2412-i2s.h
s3c-i2s-v2.c
s3c-i2s-v2.h
smartq_wm8987.c
smdk_spdif.c
smdk_wm8580.c
smdk_wm8994.c
smdk_wm8994pcm.c
snow.c
spdif.c
spdif.h
speyside.c
tm2_wm5110.c
tobermory.c