aloksinha2001/Linux3188 — pull request #31 by lgeek (2014-05-04 00:38:38+00:00)
Title: RK3188 LCDC: Don't call winX_open if already in correct state

Without this check atv_layer_cnt can both overflow and underflow,
causing the lcdc (and the screen) to shut down when it shouldn't.

No point attempting to set an lcdc to the same state it already is in.