From: Takashi Iwai Date: Thu, 15 Jan 2015 09:11:52 +0000 (+0100) Subject: ALSA: hda - Select INPUT for Realtek HD-audio codec X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffcd28d88e4f3bdb2c300e4a13e973cd2070968e;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed