mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "soc: swr-mstr: return when requesting hw vote fails"
This commit is contained in:
commit
a78b32247d
1 changed files with 6 additions and 0 deletions
|
|
@ -3090,6 +3090,12 @@ static int swrm_runtime_resume(struct device *dev)
|
|||
dev_err(dev, "%s:lpass core hw enable failed\n",
|
||||
__func__);
|
||||
hw_core_err = true;
|
||||
pm_runtime_set_autosuspend_delay(&pdev->dev,
|
||||
ERR_AUTO_SUSPEND_TIMER_VAL);
|
||||
if (swrm->req_clk_switch)
|
||||
swrm->req_clk_switch = false;
|
||||
mutex_unlock(&swrm->reslock);
|
||||
return 0;
|
||||
}
|
||||
if (swrm_request_hw_vote(swrm, LPASS_AUDIO_CORE, true)) {
|
||||
dev_err(dev, "%s:lpass audio hw enable failed\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue