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

Commit 7514e5c3 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan Committed by Gerrit - the friendly Code Review server
Browse files

soc: update wake interrupt check condition



Call pm runtime functions from wakeup interrupt
only if soundwire master is not in SSR and if dev up is
true.

Change-Id: Ic394be964437bdc009f1b4c5dd6e46673875b0df
Signed-off-by: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent 5fbd9fb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2131,7 +2131,7 @@ static irqreturn_t swrm_wakeup_interrupt(int irq, void *dev)

	trace_printk("%s enter\n", __func__);
	mutex_lock(&swrm->devlock);
	if (!swrm->dev_up) {
	if (swrm->state == SWR_MSTR_SSR || !swrm->dev_up) {
		if (swrm->wake_irq > 0) {
			if (unlikely(!irq_get_irq_data(swrm->wake_irq))) {
				pr_err("%s: irq data is NULL\n", __func__);