ALSA: hda - add beep_mode module parameter
authorJaroslav Kysela <perex@perex.cz>
Fri, 13 Nov 2009 17:41:52 +0000 (18:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Nov 2009 10:35:10 +0000 (11:35 +0100)
commit2dca0bba70ce3c233be152e384580c134935332d
treebd82dd7b15104f8ea2fa682a444099f7eb23443f
parent5f81669750504b1e7e00acde5068d972af466f29
ALSA: hda - add beep_mode module parameter

The beep_mode parameter for snd-hda-intel module allows to choose among
different digital beep device registation to the input layer.

0 = do not register to the input layer
1 = register to the input layer all time
2 = use "Beep Switch" control exported to user space mixer applications

Also, introduce CONFIG_SND_HDA_INPUT_BEEP_MODE for default value.

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