summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clipplus
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipplus')
-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)
41 /* configure GPIO B3 (display type detect) as input */ 41 /* configure GPIO B3 (display type detect) as input */
42 GPIOB_DIR &= ~(1<<3); 42 GPIOB_DIR &= ~(1<<3);
43 43
44 /* set GPIO A5 (display RESET# ?) */ 44 /* reset display using GPIO A5 (display RESET#) */
45 GPIOA_DIR |= (1<<5); 45 GPIOA_DIR |= (1<<5);
46 GPIOA_PIN(5) = 0;
47 udelay(1000);
46 GPIOA_PIN(5) = (1<<5); 48 GPIOA_PIN(5) = (1<<5);
47 49
48 /* detect display type on GPIO B3 */ 50 /* detect display type on GPIO B3 */