summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/s3c-i2s-v2.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-07-27 19:13:37 +0200
committerMark Brown <broonie@kernel.org>2017-07-28 11:58:27 +0200
commit81ea6cc73c384e4093519e0c75394aa2a1941a10 (patch)
tree4e71fdd8acae7425e57dd7d88bb2c3f10d60a271 /sound/soc/samsung/s3c-i2s-v2.c
parentASoC: samsung: Fix possible double iounmap on s3c24xx driver probe failure (diff)
downloadlinux-81ea6cc73c384e4093519e0c75394aa2a1941a10.tar.xz
linux-81ea6cc73c384e4093519e0c75394aa2a1941a10.zip
ASoC: samsung: Add missing prepare for iis clock of s3c24xx
The s3c_i2sv2_probe() only enabled iis clock. Missing prepare isn't probably fatal, because for SoC clocks this is usually no-op, but for correctness this clock should be prepared. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Arvind Yadav<arvind.yadav.cs@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/s3c-i2s-v2.c')
-rw-r--r--sound/soc/samsung/s3c-i2s-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c
index 9b28046eea8e..3894bda06ebb 100644
--- a/sound/soc/samsung/s3c-i2s-v2.c
+++ b/sound/soc/samsung/s3c-i2s-v2.c
@@ -637,7 +637,7 @@ int s3c_i2sv2_probe(struct snd_soc_dai *dai,
return -ENOENT;
}
- clk_enable(i2s->iis_pclk);
+ clk_prepare_enable(i2s->iis_pclk);
/* Mark ourselves as in TXRX mode so we can run through our cleanup
* process without warnings. */