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

Commit 9e43088b authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm8994: Avoid leaking pm_runtime reference on removed jack race

parent 7d6898be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3836,7 +3836,7 @@ static irqreturn_t wm8958_mic_irq(int irq, void *data)
				ret);
		} else if (!(ret & WM1811_JACKDET_LVL)) {
			dev_dbg(codec->dev, "Ignoring removed jack\n");
			return IRQ_HANDLED;
			goto out;
		}
	} else if (!(reg & WM8958_MICD_STS)) {
		snd_soc_jack_report(wm8994->micdet[0].jack, 0,