PD#SWPL-3713
Problem:
The panel's backlight is not stable when
enter standby mode after do suspend with
VAD enabled platform
Solution:
bypass undefind resume in lcd resume early
Verify:
verify by t962x2-x301
Change-Id: I8f040de9bebf3ccbdd3b2da3a46540fe676958f6
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
static int lcd_resume(struct platform_device *pdev)
{
+ if (lcd_debug_print_flag)
+ LCDPR("resume method: %d\n", get_resume_method());
+
if ((get_resume_method() == RTC_WAKEUP) ||
- (get_resume_method() == AUTO_WAKEUP))
+ (get_resume_method() == AUTO_WAKEUP) ||
+ (get_resume_method() == UDEFINED_WAKEUP))
return 0;
if ((lcd_driver->lcd_status & LCD_STATUS_VMODE_ACTIVE) == 0)