summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c')
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c b/firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c
index 3ee3578171..c0b128a486 100644
--- a/firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c
+++ b/firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c
@@ -41,8 +41,10 @@ int lcd_hw_init(void)
/* configure GPIO B3 (display type detect) as input */
GPIOB_DIR &= ~(1<<3);
- /* set GPIO A5 (display RESET# ?) */
+ /* reset display using GPIO A5 (display RESET#) */
GPIOA_DIR |= (1<<5);
+ GPIOA_PIN(5) = 0;
+ udelay(1000);
GPIOA_PIN(5) = (1<<5);
/* detect display type on GPIO B3 */