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

Commit 67f3754b authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcxhr: Fix missing mutex unlock

The commit [9bef72bd: ALSA: pcxhr: Use nonatomic PCM ops]
converted to non-atomic PCM ops, but shamelessly with an unbalanced
mutex locking, which leads to the hangup easily.  Fix it.

Fixes: 9bef72bd ('ALSA: pcxhr: Use nonatomic PCM ops')
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=116441


Cc: <stable@vger.kernel.org> # 3.18+
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9859a971
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1341,5 +1341,6 @@ irqreturn_t pcxhr_threaded_irq(int irq, void *dev_id)
	}

	pcxhr_msg_thread(mgr);
	mutex_unlock(&mgr->lock);
	return IRQ_HANDLED;
}