mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "dsp: Update clk status when DSP returns error" into audio-drivers.lnx.5.0
This commit is contained in:
commit
d155d7f509
1 changed files with 2 additions and 1 deletions
|
|
@ -783,8 +783,9 @@ static int32_t afe_callback(struct apr_client_data *data, void *priv)
|
|||
break;
|
||||
case AFE_CMD_REMOTE_LPASS_CORE_HW_VOTE_REQUEST:
|
||||
case AFE_CMD_REMOTE_LPASS_CORE_HW_DEVOTE_REQUEST:
|
||||
atomic_set(&this_afe.clk_state, 0);
|
||||
if (payload[1] != 0)
|
||||
atomic_set(&this_afe.clk_state,
|
||||
atomic_set(&this_afe.clk_status,
|
||||
payload[1]);
|
||||
wake_up(&this_afe.lpass_core_hw_wait);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue