9 Nov
2018
9 Nov
'18
8:28 a.m.
On Thu, Nov 08, 2018 at 08:31:35PM -0800, Vasily Khoruzhick wrote:
drvdata is actually sun8i_codec, not snd_soc_card, so it crashes when calling snd_soc_card_get_drvdata().
Drop card and scodec vars anyway since we don't need to disable/unprepare clocks - it's already done by calling runtime_suspend()
Drop clk_disable_unprepare() calls for the same reason.
Fixes: 36c684936fae7 ("ASoC: Add sun8i digital audio codec") Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com
Acked-by: Maxime Ripard maxime.ripard@bootlin.com
Thanks! Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com