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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:24:12 +0000 (08:24 +0200)
commit965fdc2c7fd4e176cffb845719d3b04f535f501a
tree60a9647bcee0af69f93f39ec02acc250ac9337b6
parentf37c95d8c6b24d62ccb153f33f55aac625d87db7
ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO

commit 386a6539992b82fe9ac4f9dc3f548956fd894d8c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c