Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 546c1cab authored by Ping Li's avatar Ping Li Committed by Benet Clark
Browse files

msm: mdss: Update ad_bl_level on first set backlight call



AD stores a backlight level in a variable for its processing
called ad_bl_level. This needs to be initialized to the actual
backlight level at the start.

Missing this initialization and doing the backlight calculation
for AD will cause an error and ad_bl_level will never be
updated to a non zero value. This change makes sure the
ad_bl_level is set to a non zero value in all cases.

Change-Id: I285332613ffcc1d6c94247b7c9bd89f054c80d4c
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
parent 8ddc7643
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment