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)
commitcbbaa603a03cc46681e24d6b2804b62fde95a2af
treee6e2be9cd9a7c53c1dc527ab8c7c4e99910ea8e4
parent4758fed912d7cd0ba53d2694e89b884114de6580
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