[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-cvs
Subject: bertrik: r22838 - in trunk/firmware/target/arm/as3525: sansa-e200v2
From: mailer () svn ! rockbox ! org
Date: 2009-09-26 10:47:11
Message-ID: 200909261047.n8QAlBsV005280 () giant ! haxx ! se
[Download RAW message or body]
Date: 2009-09-26 12:47:10 +0200 (Sat, 26 Sep 2009)
New Revision: 22838
Log Message:
Sansa Fuze/e200v2: protect lcd a little better against concurrent access
Modified:
trunk/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
trunk/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
Modified: trunk/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
===================================================================
--- trunk/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c 2009-09-26 00:58:32 UTC (rev 22837)
+++ trunk/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c 2009-09-26 10:47:10 UTC (rev 22838)
@@ -502,9 +502,10 @@
if (!display_on)
return;
+ lcd_busy = true;
+
lcd_write_reg(R_ENTRY_MODE, r_entry_mode);
- lcd_busy = true;
/* Set start position and window */
lcd_window(0, 0, LCD_WIDTH-1, LCD_HEIGHT-1);
@@ -544,8 +545,10 @@
if (y >= ymax)
return; /* nothing left to do */
+ lcd_busy = true;
+
lcd_write_reg(R_ENTRY_MODE, r_entry_mode);
- lcd_busy = true;
+
lcd_window(x, y, xmax, ymax);
lcd_write_cmd(R_WRITE_DATA_2_GRAM);
Modified: trunk/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
===================================================================
--- trunk/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c 2009-09-26 00:58:32 UTC (rev 22837)
+++ trunk/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c 2009-09-26 10:47:10 UTC (rev 22838)
@@ -349,9 +349,11 @@
{
if (!display_on)
return;
+
+ lcd_busy = true;
+
lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_HORZ);
- lcd_busy = true;
lcd_window_x(0, LCD_WIDTH - 1);
lcd_window_y(0, LCD_HEIGHT - 1);
@@ -391,9 +393,10 @@
if (y >= ymax)
return; /* nothing left to do */
+ lcd_busy = true;
+
lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_HORZ);
- lcd_busy = true;
lcd_window_x(x, xmax);
lcd_window_y(y, ymax);
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic