summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 13:08:38 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 13:08:38 +0200
commit9c965c88b4a0aeb69b3523af8ce7c83e284022f9 (patch)
tree1c7dc5d142b1a56f1fcc0a14ca637cf8c5ad98a8
parent505f37e1b89402c76cc18bc2d13dc63707a0bff5 (diff)
downloadrockbox-9c965c88b4a0aeb69b3523af8ce7c83e284022f9.zip
rockbox-9c965c88b4a0aeb69b3523af8ce7c83e284022f9.tar.gz
rockbox-9c965c88b4a0aeb69b3523af8ce7c83e284022f9.tar.bz2
rockbox-9c965c88b4a0aeb69b3523af8ce7c83e284022f9.tar.xz
fuze+: fix lcd code which got broken in 52426d0
The lcd data line were not setup as input anymore, making register reading plain broken and probably lead to bad lcd detection. Change-Id: I281460f845537c58045f3893261ded5c9c6e53b5
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
index 79a4151..93189c1 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
@@ -194,7 +194,7 @@ static uint32_t i80_read_register(uint32_t data_out)
udelay(1);
imx233_pinctrl_set_gpio(1, 20, true); /* lcd_wr */
udelay(3);
- HW_PINCTRL_DOUTn_CLR(1) = 0x3ffff; /* lcd_d{0-17} */
+ HW_PINCTRL_DOEn_CLR(1) = 0x3ffff; /* lcd_d{0-17} */
udelay(2);
imx233_pinctrl_set_gpio(1, 23, false); /* lcd_enable */
udelay(1);