diff options
Diffstat (limited to 'arch/arm/mach-pxa/lpd270.c')
-rw-r--r-- | arch/arm/mach-pxa/lpd270.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/lpd270.c b/arch/arm/mach-pxa/lpd270.c index d64395f26a3e..d279507fc748 100644 --- a/arch/arm/mach-pxa/lpd270.c +++ b/arch/arm/mach-pxa/lpd270.c | |||
@@ -83,6 +83,10 @@ static unsigned long lpd270_pin_config[] __initdata = { | |||
83 | GPIO89_USBH1_PEN, | 83 | GPIO89_USBH1_PEN, |
84 | 84 | ||
85 | /* AC97 */ | 85 | /* AC97 */ |
86 | GPIO28_AC97_BITCLK, | ||
87 | GPIO29_AC97_SDATA_IN_0, | ||
88 | GPIO30_AC97_SDATA_OUT, | ||
89 | GPIO31_AC97_SYNC, | ||
86 | GPIO45_AC97_SYSCLK, | 90 | GPIO45_AC97_SYSCLK, |
87 | 91 | ||
88 | GPIO1_GPIO | WAKEUP_ON_EDGE_BOTH, | 92 | GPIO1_GPIO | WAKEUP_ON_EDGE_BOTH, |
@@ -121,7 +125,7 @@ static void lpd270_irq_handler(unsigned int irq, struct irq_desc *desc) | |||
121 | 125 | ||
122 | pending = __raw_readw(LPD270_INT_STATUS) & lpd270_irq_enabled; | 126 | pending = __raw_readw(LPD270_INT_STATUS) & lpd270_irq_enabled; |
123 | do { | 127 | do { |
124 | GEDR(0) = GPIO_bit(0); /* clear useless edge notification */ | 128 | desc->chip->ack(irq); /* clear useless edge notification */ |
125 | if (likely(pending)) { | 129 | if (likely(pending)) { |
126 | irq = LPD270_IRQ(0) + __ffs(pending); | 130 | irq = LPD270_IRQ(0) + __ffs(pending); |
127 | generic_handle_irq(irq); | 131 | generic_handle_irq(irq); |
@@ -455,6 +459,10 @@ static void __init lpd270_init(void) | |||
455 | { | 459 | { |
456 | pxa2xx_mfp_config(ARRAY_AND_SIZE(lpd270_pin_config)); | 460 | pxa2xx_mfp_config(ARRAY_AND_SIZE(lpd270_pin_config)); |
457 | 461 | ||
462 | pxa_set_ffuart_info(NULL); | ||
463 | pxa_set_btuart_info(NULL); | ||
464 | pxa_set_stuart_info(NULL); | ||
465 | |||
458 | lpd270_flash_data[0].width = (BOOT_DEF & 1) ? 2 : 4; | 466 | lpd270_flash_data[0].width = (BOOT_DEF & 1) ? 2 : 4; |
459 | lpd270_flash_data[1].width = 4; | 467 | lpd270_flash_data[1].width = 4; |
460 | 468 | ||