OSDN Git Service

bytcr-rt5640: Add support for controlling a speaker-mute LED
authorHans de Goede <hdegoede@redhat.com>
Fri, 7 May 2021 13:11:39 +0000 (15:11 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 16:22:50 +0000 (18:22 +0200)
commit449b10d55902c70a239db3e3689d5cc31400f14f
tree713502f8a9ac553595a32d4aad004de92b41431a
parentbba72b0f47d26dc9acbf245c0521d3b3c80103ee
bytcr-rt5640: Add support for controlling a speaker-mute LED

Add support for controlling a speaker-mute LED using the new snd_ctl_led
kernel module for generic mute LED control.

Tested on a HP Pavilion X2 10-n000nd and a HP Pavilion X2 10-p002nd both of
which have a detachable USB keyboard with a speaker mute LED embedded in
the audio-mute button.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/bytcr-rt5640/bytcr-rt5640.conf