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)
commit13dab0808bb41b18888e1758a060a685deee1f30
tree3d0828a0c537d9ba9934562631816a4671a3bf56
parent123c07aeddd71fbb295842a8c19866e780b9a100
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