summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zen
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 22:25:12 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 23:14:26 +0100
commit0d5b061ecc86a444f6c7a958b8ea5db7f2ceb324 (patch)
tree6262ee372d13ea760d1ba7c9884a03c96e4580f7 /firmware/target/arm/imx233/creative-zen
parentb8bad8412fb81519640e670f67c610f530011c78 (diff)
downloadrockbox-0d5b061ecc86a444f6c7a958b8ea5db7f2ceb324.tar.gz
rockbox-0d5b061ecc86a444f6c7a958b8ea5db7f2ceb324.zip
zen: workaround errata on imx233 lcdif
Change-Id: I9d723aa13628e4ab38ee7f648c1923b9e7101d22
Diffstat (limited to 'firmware/target/arm/imx233/creative-zen')
-rw-r--r--firmware/target/arm/imx233/creative-zen/lcd-zen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
index dcdeeee7a1..fdc1225835 100644
--- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
@@ -266,6 +266,8 @@ void lcd_enable(bool enable)
lcd_power(false);
// stop lcdif
BF_CLR(LCDIF_CTRL, DOTCLK_MODE);
+ // stmp37xx errata: clearing DOTCLK_MODE won't clear RUN
+ BF_CLR(LCDIF_CTRL, RUN);
// disable spi
spi_enable(false);
}