msm: clock-8960/9615: Fix audio clock stuck on warnings
The audio bit clocks can be configured to source from two
inputs, the OSR clock or an external input. The halt bit
requires the OSR to always be running. Since we can't guarantee
that the OSR clock is on when the bit clock is turned on, just
mark these clocks as DELAY for the halt check. This will ensure a
sufficient amount of time has passed for the clocks to turn on or
off.
Change-Id: I6917fdd7a6d67017243e68cc92c8ea268623dbe4
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-9615.c b/arch/arm/mach-msm/clock-9615.c
index 3592c43..40ac701 100644
--- a/arch/arm/mach-msm/clock-9615.c
+++ b/arch/arm/mach-msm/clock-9615.c
@@ -1201,7 +1201,7 @@
.ctl_reg = ns, \
.en_mask = BIT(19), \
.halt_reg = h_r, \
- .halt_check = ENABLE, \
+ .halt_check = DELAY, \
}, \
.ns_reg = ns, \
.ext_mask = BIT(18), \