mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "dsp: q6afe: reset clk_state and clk_status when adsp ssr happens"
This commit is contained in:
commit
33e47130d4
1 changed files with 2 additions and 0 deletions
|
|
@ -962,6 +962,8 @@ static int32_t afe_callback(struct apr_client_data *data, void *priv)
|
|||
if (this_afe.apr) {
|
||||
apr_reset(this_afe.apr);
|
||||
atomic_set(&this_afe.state, 0);
|
||||
atomic_set(&this_afe.clk_state, 0);
|
||||
atomic_set(&this_afe.clk_status, ADSP_ENOTREADY);
|
||||
this_afe.apr = NULL;
|
||||
rtac_set_afe_handle(this_afe.apr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue