Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c896ed22 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: swr-mstr: check swrm->state in swr_runtime_suepend"

parents 9c822fca 91437a36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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__);