]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda_intel: Digital PC Beep - delay input device unregistration
authorJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2009 13:29:50 +0000 (14:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Nov 2009 10:35:00 +0000 (11:35 +0100)
commitc5263a34c8b622e915a0a868d80d31ecdc1add7e
tree3d0828a0c537d9ba9934562631816a4671a3bf56
parent030922a3367fe1b71f599d3b68ae10c2b03b1203
ALSA: hda_intel: Digital PC Beep - delay input device unregistration

The massive register/unregister calls for input device layer might be
overkill. Delay unregister call by one HZ as workaround.

Also, as benefit, beep->enabled variable is changed immediately now
(not from workqueue).

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