summaryrefslogtreecommitdiff
path: root/firmware/target/arm/rk27xx/lcd-hifiman.c
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-07-13 22:30:09 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-07-13 22:30:09 +0400
commit50370cd70ddfc00d9407c4df02b4d49a90cce664 (patch)
tree9a3b84965d247753263bfb9a283e2639a448f862 /firmware/target/arm/rk27xx/lcd-hifiman.c
parente2d72d64fd901846bf36805b161b9f4b6158c82b (diff)
hm60x: Fix gpio pin direction.
Change-Id: I22324a3bd080a23d3606e6bc8e55881d072bf615
Diffstat (limited to 'firmware/target/arm/rk27xx/lcd-hifiman.c')
-rw-r--r--firmware/target/arm/rk27xx/lcd-hifiman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/lcd-hifiman.c b/firmware/target/arm/rk27xx/lcd-hifiman.c
index b97766c840..aaf181690e 100644
--- a/firmware/target/arm/rk27xx/lcd-hifiman.c
+++ b/firmware/target/arm/rk27xx/lcd-hifiman.c
@@ -170,7 +170,7 @@ enum lcd_type_t
static void identify_lcd(void)
{
SCU_IOMUXB_CON &= ~(1<<2);
- GPIO_PCCON |= (1<<4);
+
if (GPIO_PCDR & (1<<4))
{
lcd_type = LCD_V1;