[PATCH 0/1][SRU][OEM-5.6] UBUNTU: SAUCE: don't register platform::micmute if the related tokens don't exist.
koba.ko at canonical.com
koba.ko at canonical.com
Thu May 7 11:07:21 UTC 2020
From: Koba Ko <koba.ko at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1877275
[Impact]
Error messge is issued,
"platform::micmute: Setting an LED's brightness failed (-19)",
Even the device isn't presented.
[Fix]
Get the related tokens of SMBIOS, GLOBAL_MIC_MUTE_DISABLE/ENABLE.
If one of two tokens doesn't exist, don't register platform::micmute.
[test]
With the patch, if GLOBAL_MIC_MUTE_DISABLE/ENABLE don't exist, the error message
wouldn't be triggered and can't find platform::micmute in /sys/class/leds
[Regression Potential]
low, just avoid to register if device isn't presented.
Koba Ko (1):
UBUNTU: SAUCE: platform/x86: dell-laptop: don't register
platform::micmute if the related tokens don't exist.
drivers/platform/x86/dell-laptop.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
--
2.17.1
More information about the kernel-team
mailing list