summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
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 /firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
parent505f37e1b89402c76cc18bc2d13dc63707a0bff5 (diff)
downloadrockbox-9c965c88b4a0aeb69b3523af8ce7c83e284022f9.tar.gz
rockbox-9c965c88b4a0aeb69b3523af8ce7c83e284022f9.zip
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
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c')
-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 79a4151682..93189c14e5 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)
194 udelay(1); 194 udelay(1);
195 imx233_pinctrl_set_gpio(1, 20, true); /* lcd_wr */ 195 imx233_pinctrl_set_gpio(1, 20, true); /* lcd_wr */
196 udelay(3); 196 udelay(3);
197 HW_PINCTRL_DOUTn_CLR(1) = 0x3ffff; /* lcd_d{0-17} */ 197 HW_PINCTRL_DOEn_CLR(1) = 0x3ffff; /* lcd_d{0-17} */
198 udelay(2); 198 udelay(2);
199 imx233_pinctrl_set_gpio(1, 23, false); /* lcd_enable */ 199 imx233_pinctrl_set_gpio(1, 23, false); /* lcd_enable */
200 udelay(1); 200 udelay(1);