summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2018-11-09 05:31:35 +0100
committerMark Brown <broonie@kernel.org>2018-11-09 16:35:42 +0100
commit278df5e5527b633f4882f1680ad58b62a7c07bfe (patch)
tree6656611e7f9229a9ddf83ed64f762f4f798f2446 /sound/soc/rockchip
parentASoC: qdsp6: q6afe-dai: Fix the dai widgets (diff)
downloadlinux-278df5e5527b633f4882f1680ad58b62a7c07bfe.tar.xz
linux-278df5e5527b633f4882f1680ad58b62a7c07bfe.zip
ASoC: sun8i-codec: fix crash on module removal
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> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
0 files changed, 0 insertions, 0 deletions