mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
lcd: The panel's backlight is not stable with VAD enabled platform [1/1]
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>
This commit is contained in:
committed by
Dongjin Kim
parent
3b19be11e0
commit
96a3556ea5
@@ -1420,8 +1420,12 @@ static int lcd_remove(struct platform_device *pdev)
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user