]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
UBUNTU: SAUCE: platform/x86: dell-uart-backlight: increase retry times
authorAceLan Kao <acelan.kao@canonical.com>
Wed, 12 Feb 2020 06:53:15 +0000 (14:53 +0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Tue, 2 Nov 2021 07:24:48 +0000 (08:24 +0100)
commit246f44da6a36f764771882dc7669edeb53265d3e
tree792c8fd65186e65d8df0d220c6621ac2bece661c
parent6ec4b21b812c4ad04daa3c4b27135b346f2cf115
UBUNTU: SAUCE: platform/x86: dell-uart-backlight: increase retry times

BugLink: https://bugs.launchpad.net/bugs/1862885
From ODM, scalar takes some time to activate panel during booting up,
it can't respond the UART commands within 1 seconds.
So, we add retry and wait 2 seconds for the response. But sometimes it
still fails to read the response.
During the boot up time, it sometimes takes more than 2 seconds to respond
the first command, so we enlarge the retry timeout from 2 seconds to 5
seconds to make sure we get the first response from scalar.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Acked-By: You-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: Anthony Wong <anthony.wong@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/platform/x86/dell/dell-uart-backlight.c