da8xx-fb: enable LCDC if FB is unblanked
authorManjunathappa, Prakash <prakash.pm@ti.com>
Fri, 31 Aug 2012 14:18:59 +0000 (19:48 +0530)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 22 Sep 2012 21:24:51 +0000 (21:24 +0000)
commit67900814c8cf77d1835578bbbbeea3adbd994bfd
tree4347ccf5444ffb639845175535f9d048377b9b42
parentac9e51bdb3d1367935211431565ea5d15102b64e
da8xx-fb: enable LCDC if FB is unblanked

It is expected that LCDC to continue to be disabled after
resume if it is blanked before suspend. This is also true
for DVFS. But it is observed that LCDC being enabled after
suspend/resume cycle or DVFS.

Correcting it by having check for FB_BLANK_UNBLANK before
enabling.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/da8xx-fb.c