rk29_bl->props.brightness = 0;
rk29_bl_update_status(rk29_bl);
- if (rk29_bl_info && rk29_bl_info->pwm_suspend)
- rk29_bl_info->pwm_suspend();
-
if (rk29_bl_info && rk29_bl_info->io_deinit)
rk29_bl_info->io_deinit();
}
#if defined(CONFIG_NO_DUAL_DISP) //close backlight for device whic do not support dual display
rk29_backlight_set(!enable);
#elif defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF) //close backlight for device whic do not support dual display
- rk29_backlight_set(1);
+ if(enable)
+ rk29_backlight_set(1);
#endif
return 0;