mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "soc: swr-mstr: check swrm->state in swr_runtime_suepend"
This commit is contained in:
commit
c896ed2237
1 changed files with 1 additions and 1 deletions
|
|
@ -3250,7 +3250,7 @@ static int swrm_runtime_suspend(struct device *dev)
|
|||
swrm->state = SWR_MSTR_DOWN;
|
||||
|
||||
exit:
|
||||
if (current_state != SWR_MSTR_UP) {
|
||||
if (swrm->state != SWR_MSTR_UP) {
|
||||
if (swrm_request_hw_vote(swrm, LPASS_AUDIO_CORE, false))
|
||||
dev_dbg(dev, "%s:lpass audio hw enable failed\n",
|
||||
__func__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue