Re: [PATCH] ALSA: hda/hdmi: Fix incorrect mutex unlock in silent_stream_disable()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

uh oh, I need to do some soul searching on how this slipped through. Seems
to have been introduced in the V2 of the patch. Fix is correct, thanks 
Jan for reporting!

On Fri, 1 Jan 2021, Takashi Iwai wrote:

> The silent_stream_disable() function introduced by the commit
> b1a5039759cb ("ALSA: hda/hdmi: fix silent stream for first playback to
> DP") takes the per_pin->lock mutex, but it unlocks the wrong one,
> spec->pcm_lock, which causes a deadlock.  This patch corrects it.

Acked-by: Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>

Br, Kai



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux