aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2021-03-18 18:09:39 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:47:25 +0200
commit61c1ddd29f87f83a1b010f4dc3ba506946977123 (patch)
treee82cc1ca5dbfeffd72356163070ff4afffcb18bb /drivers/gpu/drm
parent918a45b65365749f279cf2955d73d86ef25831a0 (diff)
downloadkernel_replicant_linux-61c1ddd29f87f83a1b010f4dc3ba506946977123.tar.gz
kernel_replicant_linux-61c1ddd29f87f83a1b010f4dc3ba506946977123.tar.bz2
kernel_replicant_linux-61c1ddd29f87f83a1b010f4dc3ba506946977123.zip
backlight: qcom-wled: Fix FSC update issue for WLED5
[ Upstream commit 4d6e9cdff7fbb6bef3e5559596fab3eeffaf95ca ] Currently, for WLED5, the FSC (Full scale current) setting is not updated properly due to driver toggling the wrong register after an FSC update. On WLED5 we should only toggle the MOD_SYNC bit after a brightness update. For an FSC update we need to toggle the SYNC bits instead. Fix it by adopting the common wled3_sync_toggle() for WLED5 and introducing new code to the brightness update path to compensate. Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions