From: Greg Kroah-Hartman Date: Wed, 19 Aug 2020 08:50:07 +0000 (+0200) Subject: 5.8-stable patches X-Git-Tag: v4.14.194~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55d2eedbb3ae69b8df14feae55a879293ce36f19;p=thirdparty%2Fkernel%2Fstable-queue.git 5.8-stable patches added patches: alsa-hda-realtek-fix-unused-variable-warning.patch --- diff --git a/queue-5.8/alsa-hda-realtek-fix-unused-variable-warning.patch b/queue-5.8/alsa-hda-realtek-fix-unused-variable-warning.patch new file mode 100644 index 00000000000..9b449b432e3 --- /dev/null +++ b/queue-5.8/alsa-hda-realtek-fix-unused-variable-warning.patch @@ -0,0 +1,37 @@ +From e5b1d9776ad3817a8c90336038bf7a219425b57f Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Wed, 12 Aug 2020 09:02:56 +0200 +Subject: ALSA: hda/realtek - Fix unused variable warning + +From: Takashi Iwai + +commit e5b1d9776ad3817a8c90336038bf7a219425b57f upstream. + +The previous fix forgot to remove the unused variable that triggers a +compile warning now: + sound/pci/hda/patch_realtek.c: In function 'alc285_fixup_hp_gpio_led': + sound/pci/hda/patch_realtek.c:4163:19: warning: unused variable 'spec' [-Wunused-variable] + +Fix it. + +Fixes: 404690649e6a ("ALSA: hda - reverse the setting value in the micmute_led_set") +Reported-by: Stephen Rothwell +Link: https://lore.kernel.org/r/20200812070256.32145-1-tiwai@suse.de +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman + +--- + sound/pci/hda/patch_realtek.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -4171,8 +4171,6 @@ static void alc269_fixup_hp_gpio_led(str + static void alc285_fixup_hp_gpio_led(struct hda_codec *codec, + const struct hda_fixup *fix, int action) + { +- struct alc_spec *spec = codec->spec; +- + alc_fixup_hp_gpio_led(codec, action, 0x04, 0x01); + } + diff --git a/queue-5.8/series b/queue-5.8/series new file mode 100644 index 00000000000..d413bd634c0 --- /dev/null +++ b/queue-5.8/series @@ -0,0 +1 @@ +alsa-hda-realtek-fix-unused-variable-warning.patch