summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip/rockchip_spdif.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-12-22 09:18:38 +0100
committerTakashi Iwai <tiwai@suse.de>2022-12-22 09:18:38 +0100
commit6bf5f9a8b408a6ce5aba6119f305b5b8f1238025 (patch)
tree7e6c5b849d3d261315bab73ad5c8550685685078 /sound/soc/rockchip/rockchip_spdif.c
parentfd28941cff1cd9d8ffa59fe11eb64148e09b6ed6 (diff)
parenta12a383e59ce486abd719b6bda33c353a3b385e7 (diff)
downloadlinux-6bf5f9a8b408a6ce5aba6119f305b5b8f1238025.tar.bz2
Merge tag 'asoc-v6.2-3' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v6.2 Some more small fixes and board quirks that came in since my last update, the main one being the fixes from Kai for issues around the attempts to get kexec working well on SOF based systems.
Diffstat (limited to 'sound/soc/rockchip/rockchip_spdif.c')
-rw-r--r--sound/soc/rockchip/rockchip_spdif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c
index 8bef572d3cbc..5b4f00457587 100644
--- a/sound/soc/rockchip/rockchip_spdif.c
+++ b/sound/soc/rockchip/rockchip_spdif.c
@@ -88,6 +88,7 @@ static int __maybe_unused rk_spdif_runtime_resume(struct device *dev)
ret = clk_prepare_enable(spdif->hclk);
if (ret) {
+ clk_disable_unprepare(spdif->mclk);
dev_err(spdif->dev, "hclk clock enable failed %d\n", ret);
return ret;
}