aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/sh
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-04-13 14:45:48 +0200
committerMark Brown <broonie@kernel.org>2020-04-14 12:16:22 +0100
commitec21bdc6dd16d74b3674ef1fd12ae8e4e7418603 (patch)
tree91fabb22876a4fd295589a62a62841890593f7b4 /sound/sh
parentASoC: topology: Check return value of soc_tplg_dai_config (diff)
downloadwireguard-linux-ec21bdc6dd16d74b3674ef1fd12ae8e4e7418603.tar.xz
wireguard-linux-ec21bdc6dd16d74b3674ef1fd12ae8e4e7418603.zip
ASoC: samsung: s3c24xx-i2s: Fix build after removal of DAI suspend/resume
Commit 450312b640f9 ("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: 450312b640f9 ("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>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions