Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a30abaa authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix incorrect usage of IS_REACHABLE()



The commit c469652b ("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: c469652b ("ALSA: hda - Use IS_REACHABLE() for dependency on input")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0f925660
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3832,7 +3832,7 @@ static void alc280_fixup_hp_gpio4(struct hda_codec *codec,
	}
}

#if IS_REACHABLE(INPUT)
#if IS_REACHABLE(CONFIG_INPUT)
static void gpio2_mic_hotkey_event(struct hda_codec *codec,
				   struct hda_jack_callback *event)
{