diff options
author | John Keeping <john@metanate.com> | 2017-09-14 16:58:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-14 10:22:23 -0700 |
commit | 32debfcd3ff0939c93238ddde03ffcc96cca5c60 (patch) | |
tree | 5862ac66578d12434208b1ffd8062523afaa0da9 | |
parent | 7051334672e54fae67e02d5d3296fb62b3343be7 (diff) | |
download | op-kernel-dev-32debfcd3ff0939c93238ddde03ffcc96cca5c60.zip op-kernel-dev-32debfcd3ff0939c93238ddde03ffcc96cca5c60.tar.gz |
ASoC: rockchip: i2s: fix unbalanced clk_disable
mclk is enabled and disabled only in i2s_runtime_{resume,suspend}() and
we ensure that the device is runtime suspended before reaching this
clk_disable_unprepare() call, so it is wrong to call it again here.
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/rockchip/rockchip_i2s.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index 199338f..a7972c2 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c @@ -694,7 +694,6 @@ static int rockchip_i2s_remove(struct platform_device *pdev) if (!pm_runtime_status_suspended(&pdev->dev)) i2s_runtime_suspend(&pdev->dev); - clk_disable_unprepare(i2s->mclk); clk_disable_unprepare(i2s->hclk); return 0; |