Skip to content

Commit 6a30aba

Browse files
committed
ALSA: hda - Fix incorrect usage of IS_REACHABLE()
The commit c469652 ("ALSA: hda - Use IS_REACHABLE() for dependency on input") simplified the dependencies with IS_REACHABLE() macro, but it broke due to its incorrect usage: it should have been IS_REACHABLE(CONFIG_INPUT) instead of IS_REACHABLE(INPUT). Fixes: c469652 ("ALSA: hda - Use IS_REACHABLE() for dependency on input") Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 0f92566 commit 6a30aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3832,7 +3832,7 @@ static void alc280_fixup_hp_gpio4(struct hda_codec *codec,
38323832
}
38333833
}
38343834

3835-
#if IS_REACHABLE(INPUT)
3835+
#if IS_REACHABLE(CONFIG_INPUT)
38363836
static void gpio2_mic_hotkey_event(struct hda_codec *codec,
38373837
struct hda_jack_callback *event)
38383838
{

0 commit comments

Comments
 (0)