ALSA: hda - Protect SPDIF-related stuff via spdif_mutex
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 May 2012 08:21:29 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 May 2012 12:56:15 +0000 (14:56 +0200)
commite3245cddcf56ccd810b73d0a2918e02560da93ab
tree95deb25015d48b4706a7972d2f88bf235e3d8177
parent61d648fb4726f8a89c07cd1904f9c2e11bf26df5
ALSA: hda - Protect SPDIF-related stuff via spdif_mutex

Add the missing mutex protection or move into the protected part for
SPDIF access codes for codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/patch_hdmi.c