Skip to content

Commit 5f6e6d0

Browse files
tiwaigregkh
authored andcommitted
ALSA: hda - Fix incorrect usage of IS_REACHABLE()
commit 6a30aba upstream. 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]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c1e76c3 commit 5f6e6d0

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
@@ -3722,7 +3722,7 @@ static void alc280_fixup_hp_gpio4(struct hda_codec *codec,
37223722
}
37233723
}
37243724

3725-
#if IS_REACHABLE(INPUT)
3725+
#if IS_REACHABLE(CONFIG_INPUT)
37263726
static void gpio2_mic_hotkey_event(struct hda_codec *codec,
37273727
struct hda_jack_callback *event)
37283728
{

0 commit comments

Comments
 (0)