ALSA: hda - Protect the power-saving count with spinlock
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 May 2012 15:08:10 +0000 (17:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 May 2012 16:01:30 +0000 (18:01 +0200)
commit5536c6d69376273d5210ce05b7d5d462f0dff9d6
treed65dd8459225d8d6eb49ba8e3f321120274bea14
parent339876d70a5794c0d5fe09d37827c63148d5017a
ALSA: hda - Protect the power-saving count with spinlock

To avoid some races.  Still not perfect, but now a bit safer.

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