mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
dsp: Fix NOC error from lpass on accessing LPASS_AVTIMER_LSB
avcs_core_query_timer_offset can be called from external ioctl while avtimer clk count is 0. This can result in a NOC while reading avtimer register. Reset adsp_ready if avtimer clk count is 0 to resolve the issue. Change-Id: I3d088c306f4895a2fee68f2ac95ea6ad96094ea1 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
parent
8393ea841a
commit
6bb56f382b
1 changed files with 1 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ int avcs_core_disable_power_collapse(int enable)
|
|||
rc = avcs_core_disable_avtimer(
|
||||
avtimer.timer_handle);
|
||||
avtimer.timer_handle = 0;
|
||||
atomic_set(&avtimer.adsp_ready, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue