diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-08-23 21:32:04 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-08-23 21:51:29 +0200 |
commit | 4872124db6550fd728902fac25e777225d047290 (patch) | |
tree | f746338310d915896b4e96fee3e6f32bd44ad8f6 | |
parent | 5ff016d6f42e3152a8244676f2dd37aa47756d2d (diff) |
linux-openmoko-2.6.32: upgrade to 2.6.32.20 and add patch for WSOD with 242 timming
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes/linux/linux-openmoko-2.6.32/0021-glamo-display-fix-WSOD-for-242-timming.patch | 35 | ||||
-rw-r--r-- | recipes/linux/linux-openmoko-2.6.32_git.bb | 8 |
2 files changed, 40 insertions, 3 deletions
diff --git a/recipes/linux/linux-openmoko-2.6.32/0021-glamo-display-fix-WSOD-for-242-timming.patch b/recipes/linux/linux-openmoko-2.6.32/0021-glamo-display-fix-WSOD-for-242-timming.patch new file mode 100644 index 0000000000..89639ce195 --- /dev/null +++ b/recipes/linux/linux-openmoko-2.6.32/0021-glamo-display-fix-WSOD-for-242-timming.patch @@ -0,0 +1,35 @@ +From e3acb9616bce282f82a26e3a191e760c2176f59e Mon Sep 17 00:00:00 2001 +From: Gennady Kupava <gb@bsdmn.com> +Date: Mon, 23 Aug 2010 21:28:02 +0200 +Subject: [PATCH] glamo-display: fix WSOD for 242 timming + +--- + drivers/mfd/glamo/glamo-display.c | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/drivers/mfd/glamo/glamo-display.c b/drivers/mfd/glamo/glamo-display.c +index 57292ff..da6f9b3 100644 +--- a/drivers/mfd/glamo/glamo-display.c ++++ b/drivers/mfd/glamo/glamo-display.c +@@ -172,15 +172,17 @@ int glamo_lcd_cmd_mode(struct glamodrm_handle *gdrm, int on) + } else { + /* RGB interface needs vsync/hsync */ + int mode; ++ //mdelay(1); + mode = reg_read_lcd(gdrm, GLAMO_REG_LCD_MODE3); + if ( mode & GLAMO_LCD_MODE3_RGB) + reg_write_lcd(gdrm, GLAMO_REG_LCD_COMMAND1, + GLAMO_LCD_CMD_TYPE_DISP | + GLAMO_LCD_CMD_DATA_DISP_SYNC); +- ++ mdelay(1); + reg_write_lcd(gdrm, GLAMO_REG_LCD_COMMAND1, + GLAMO_LCD_CMD_TYPE_DISP | + GLAMO_LCD_CMD_DATA_DISP_FIRE); ++ //mdelay(1); + } + + return 0; +-- +1.7.2 + diff --git a/recipes/linux/linux-openmoko-2.6.32_git.bb b/recipes/linux/linux-openmoko-2.6.32_git.bb index c8ec1bedd9..6c19622135 100644 --- a/recipes/linux/linux-openmoko-2.6.32_git.bb +++ b/recipes/linux/linux-openmoko-2.6.32_git.bb @@ -1,7 +1,7 @@ require linux.inc require linux-openmoko.inc -KERNEL_RELEASE="2.6.32.17" +KERNEL_RELEASE="2.6.32.20" SRCREV = "a9254be10ac2294ea20165a87c09ea6afcf66d94" OEV = "oe3.3" @@ -39,11 +39,13 @@ SRC_URI = "\ file://0018-glamo-core-initialize-engine-states-as-disabled.patch \ # faster glamo file://0020-mfd-glamo-Enable-FIFO-stage-for-the-LCD-engine-s-mem.patch \ + file://0021-glamo-display-fix-WSOD-for-242-timming.patch \ file://defconfig \ " -SRC_URI[stablepatch.md5sum] = "ca9a0f5c28803e9231dc9ee5b0faa863" -SRC_URI[stablepatch.sha256sum] = "823a3c2d8d76e4c7d278999a11c274ffb28a0d25a45b24bc95c5bee7ec192ee3" +SRC_URI[stablepatch.md5sum] = "37cd37164dd7f288dc84f831fc33a598" +SRC_URI[stablepatch.sha256sum] = "d46f29d8e2c3f5f68e074ff6db33ba615486a0994d86f8d03586615e86c0ac52" + S = "${WORKDIR}/git" |