This is a multi-part message in MIME format.
--------------1.5.3.1
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit


Glamo fails to return to display mode if we switch to and back from cmd mode
too quickly.  Add a certain amount of delay after entering cmd mode.

Signed-off-by: Chia-I Wu <[EMAIL PROTECTED]>
---
 drivers/video/glamo/glamo-fb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
--------------1.5.3.1
Content-Type: text/x-patch; name="9e9113897acaf4aa146ed6e0cc4d1c0d44688381.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; 
filename="9e9113897acaf4aa146ed6e0cc4d1c0d44688381.diff"

diff --git a/drivers/video/glamo/glamo-fb.c b/drivers/video/glamo/glamo-fb.c
index 3a102e4..2a5814f 100644
--- a/drivers/video/glamo/glamo-fb.c
+++ b/drivers/video/glamo/glamo-fb.c
@@ -395,6 +395,8 @@ void glamofb_cmd_mode(struct glamofb_handle *gfb, int on)
                while (!reg_read(gfb, GLAMO_REG_LCD_STATUS2) & (1 << 12))
                        yield();
                dev_dbg(gfb->dev, "idle!\n");
+
+               msleep(90);
        } else {
                /* RGB interface needs vsync/hsync */
                if (reg_read(gfb, GLAMO_REG_LCD_MODE3) & GLAMO_LCD_MODE3_RGB)

--------------1.5.3.1--



Reply via email to