diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-15 12:11:52 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-15 12:21:50 +0300 |
commit | ffcd28d88e4f3bdb2c300e4a13e973cd2070968e (patch) | |
tree | fb80d8f071303f2b74b3ded23bd1cfea6bd49f92 /sound/pci/hda/Kconfig | |
parent | fd4e8dde42bb142448e3fd7dc6094cb2707d3b64 (diff) | |
download | linux-ffcd28d88e4f3bdb2c300e4a13e973cd2070968e.tar.xz |
ALSA: hda - Select INPUT for Realtek HD-audio codec
The commit commit [33f4acd3b214: ALSA: hda - Enable mic mute hotkey
and LEDs for an HP machine] introduced a quirk for a HP machine
involving with the input event handling. Although the relevant code
is protected via IS_ENABLED(CONFIG_INPUT), this doesn't suffice when
the audio driver is built in while the input is module.
As an easy workaround, this patch forcibly selects CONFIG_INPUT in
Kconfig. This shouldn't be a practical problem since CONFIG_INPUT is
almost mandatory for all systems. Also, this allows to remove the
ugly ifdefs in the code.
Fixes: 33f4acd3b214 ('ALSA: hda - Enable mic mute hotkey and LEDs for an HP machine')
Acked-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/Kconfig')
-rw-r--r-- | sound/pci/hda/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index ebf4c2fb99df..7f0f2c5a4e97 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig @@ -107,6 +107,7 @@ config SND_HDA_PATCH_LOADER config SND_HDA_CODEC_REALTEK tristate "Build Realtek HD-audio codec support" select SND_HDA_GENERIC + select INPUT help Say Y or M here to include Realtek HD-audio codec support in snd-hda-intel driver, such as ALC880. |