msm: mdss: Notify backlight events for AD and regular BL together
Postprocessing userspace is a client of backlight notifications from driver. There are two notifications exposed, one for AD BL attenuation and one for regular backlight updates. Previously, the notification would be for one type or the other. This change makes the notifications occur together if both notifications are needed. Change-Id: Ia5bc520a183106e1f9a876583cb3a17435be08ed Signed-off-by: Benet Clark <benetc@codeaurora.org>
This commit is contained in:
parent
106c2d5246
commit
6656edcc6c
1 changed files with 1 additions and 1 deletions
|
@ -1410,7 +1410,7 @@ void mdss_fb_set_backlight(struct msm_fb_data_type *mfd, u32 bkl_lvl)
|
|||
if (ad_bl_notify_needed)
|
||||
mdss_fb_bl_update_notify(mfd,
|
||||
NOTIFY_TYPE_BL_AD_ATTEN_UPDATE);
|
||||
else if (bl_notify_needed)
|
||||
if (bl_notify_needed)
|
||||
mdss_fb_bl_update_notify(mfd,
|
||||
NOTIFY_TYPE_BL_UPDATE);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue