Merge "msm: mdss: Define AD BL linearity LUT size independent of maximum BL value"
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index a691330..724e573 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -803,7 +803,7 @@
 };
 
 #define MDSS_MAX_BL_BRIGHTNESS 255
-#define AD_BL_LIN_LEN (MDSS_MAX_BL_BRIGHTNESS + 1)
+#define AD_BL_LIN_LEN 256
 
 #define MDSS_AD_MODE_AUTO_BL	0x0
 #define MDSS_AD_MODE_AUTO_STR	0x1