]> Pileus Git - ~andy/linux/commit
ALSA: hda - Avoid possible race of beep on/off
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 15:36:35 +0000 (17:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 16:31:37 +0000 (18:31 +0200)
commit3fd877d32cac31292628fb8f443543fc1989b49b
tree701577fff092c38cc09b9d571b76c733c4c76b09
parent257dfb410070b48e377c7894222b73ca41d662e0
ALSA: hda - Avoid possible race of beep on/off

Call cancel_work_sync() when turning off the beep switch so that the
mute call is executed in a proper order.

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