diff options
| author | Jackie Dong <[email protected]> | 2025-07-09 03:57:16 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-07-09 08:49:20 +0000 |
| commit | c86f7bb92f1ffbacb18634356bf0573047eab6a0 (patch) | |
| tree | ccee909da8682de09db2deaf1e56347b87a97b9d /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86: ideapad-laptop: Fix kbd backlight not remembered among boots (diff) | |
| download | kernel-c86f7bb92f1ffbacb18634356bf0573047eab6a0.tar.gz kernel-c86f7bb92f1ffbacb18634356bf0573047eab6a0.zip | |
lenovo-wmi-hotkey: Avoid triggering error -5 due to missing mute LED
Not all of Lenovo non-ThinkPad devices support both mic mute LED (on F4)
and audio mute LED (on F1). Some of them only support one mute LED, some
of them don't have any mute LEDs. If any of the mute LEDs is missing,
the driver reports error -5.
Check if the device supports a mute LED or not. Do not trigger error -5
message from missing a mute LED if it is not supported on the device.
Signed-off-by: Jackie Dong <[email protected]>
Suggested-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ij: major edits to the changelog.]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
