]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO
authorHui Wang <hui.wang@canonical.com>
Mon, 10 Aug 2020 02:16:59 +0000 (10:16 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Aug 2020 06:44:49 +0000 (08:44 +0200)
commit7ca2848eac1b989f1358bc8c5fbeb220720805ab
tree78d4bc1155216772d9ed2c77b18cf601c7fceb66
parent4c7d551f4d4aa30a512e0e39ebb5d5bafefb53dc
ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO

After installing the Ubuntu Linux, the micmute led status is not
correct. Users expect that the led is on if the capture is disabled,
but with the current kernel, the led is off with the capture disabled.

We tried the old linux kernel like linux-4.15, there is no this issue.
It looks like we introduced this issue when switching to the led_cdev.

Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20200810021659.7429-1-hui.wang@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c