]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix possible races in HDMI driver
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Oct 2013 16:03:24 +0000 (18:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Oct 2013 17:23:40 +0000 (19:23 +0200)
commit9d03fea00b0baadc4c41071b827ec999c875114b
treee6e2be9cd9a7c53c1dc527ab8c7c4e99910ea8e4
parentda828d10bb33f220bea545d4958602c5b8c43a2f
ALSA: hda - Fix possible races in HDMI driver

Some per_pin fields and ELD contents might be changed dynamically in
multiple ways where the concurrent accesses are still opened in the
current code.  This patch fixes such possible races by using eld->lock
in appropriate places.

Reported-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c