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

Commit f35fda3e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Fix error in BL linearity inverse LUT check"

parents 6c62ecb6 c29d8949
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -4186,8 +4186,7 @@ static void pp_ad_calc_worker(struct work_struct *work)
						MDSS_MDP_REG_AD_BL_OUT);
				if (ad->state & PP_AD_STATE_BL_LIN) {
					bl = bl >> ad->bl_bright_shift;
					bl = min_t(u32, bl,
						MDSS_MAX_BL_BRIGHTNESS);
					bl = min_t(u32, bl, (AD_BL_LIN_LEN-1));
					bl = ad->bl_lin_inv[bl];
					bl = bl << ad->bl_bright_shift;
				}