import PULS_20180308
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / ttab / leds / mt65xx / cust_leds.c
index c152acc299f2c7740ad815e23bed97a439092ab3..885be6ee62e82118cff2d462fc6939575a58d931 100644 (file)
@@ -28,9 +28,12 @@ unsigned int Cust_GetBacklightLevelSupport_byPWM(void)
 unsigned int brightness_mapping(unsigned int level)
 {
     unsigned int mapped_level;
-    
-    mapped_level = level;
-       
+/* [FEATURE]-Mod-BEGIN by TCTSZ.yaohui.zeng, 2015/04/20,set BL min level to 8(PWM 3.14%)*/
+       if((level <= 32)&&(level > 0))
+               mapped_level = 32;
+       else
+               mapped_level = level;
+/* [FEATURE]-Mod-END by TCTSZ.yaohui.zeng, 2015/04/20*/
        return mapped_level;
 }
 /*