• Alberto Panizzo's avatar
    drivers/video/backlight/l4f00242t03.c: fix reset sequence · aff5ce6c
    Alberto Panizzo authored
    The reset command is part of the init sequence and it take effect
    only if the lcd is powered.
    
    The effect of the bug was that the sequence:
    set lcd power_state to FB_BLANK_POWERDOWN
    set lcd power_state to FB_BLANK_UNBLANK
    Did not produced a complete reboot of the LCD which was showing fuzzy
    colours.
    
    This was not experienced before implementing correctly all the LCD power
    states with the patch [1].  Since before the patch [1] the regulators were
    not touched and the LCD shutdown was reached with a register write.  After
    the patch [1] a complete boot sequence with an initial reset is needed for
    the display every time the LCD is powered up.
    
    drivers-video-backlight-l4f00242t03c-full-implement-fb-power-states-for-this-lcd.patch
    Signed-off-by: default avatarAlberto Panizzo <maramaopercheseimorto@gmail.com>
    Cc: Richard Purdie <rpurdie@rpsys.net>
    Cc: Marek Vasut <marek.vasut@gmail.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Axel Lin <axel.lin@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    aff5ce6c
l4f00242t03.c 7.31 KB