[PATCH 0/1][SRU][B][D][E][F] Dell AIO can't adjust brightness

AceLan Kao acelan.kao at canonical.com
Wed Jan 8 07:59:44 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1858761

[Impact]
Found on new platforms that UART require more than 1 second to respond
commands in the first 10 seconds after booted.
And the first command we send to scalar is dell_uart_get_scalar_status()
to tell if scalar is in charge of the backlight, and it always fails to get
response because of timeout.

[Fix]
Adding retry and increasing read timeout for dell_uart_get_scalar_status()

[Test]
Verified on the target Dell AIO, it can now read the response from scalar.

[Regression Potential]
Low, adding retry and increasing read timeout doesn't change the code flow.

AceLan Kao (1):
  UBUNTU: SAUCE: platform/x86: dell-uart-backlight: add retry for get
    scalar status

 drivers/platform/x86/dell-uart-backlight.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list