|
From: <bob...@us...> - 2006-12-01 23:15:24
|
Revision: 687
http://svn.sourceforge.net/hackndev/?rev=687&view=rev
Author: bobofdoom
Date: 2006-12-01 15:14:57 -0800 (Fri, 01 Dec 2006)
Log Message:
-----------
palmtx: WM9712 GPIOs should be configured as outputs not inputs. This was working previously due to an error in the header constants.
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmld_ac97.c
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmld_ac97.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmld_ac97.c 2006-11-29 00:33:59 UTC (rev 686)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmld_ac97.c 2006-12-01 23:14:57 UTC (rev 687)
@@ -392,12 +392,12 @@
ac97->bus->ops->write(ac97, AC97_WM97XX_DIGITISER2, d2base);
/* enable interrupts on codec's gpio 2 (connected to cpu gpio 27) */
- wm97xx_gpio_mode(WM97XX_GPIO_2, WM97XX_GPIO_IN, WM97XX_GPIO_POL_HIGH,
+ wm97xx_gpio_mode(WM97XX_GPIO_2, WM97XX_GPIO_OUT, WM97XX_GPIO_POL_HIGH,
WM97XX_GPIO_NOTSTICKY, WM97XX_GPIO_NOWAKE);
wm97xx_gpio_func(WM97XX_GPIO_2, 0);
/* enable pen detect interrupt */
- wm97xx_gpio_mode(WM97XX_GPIO_13, WM97XX_GPIO_IN, WM97XX_GPIO_POL_HIGH,
+ wm97xx_gpio_mode(WM97XX_GPIO_13, WM97XX_GPIO_OUT, WM97XX_GPIO_POL_HIGH,
WM97XX_GPIO_STICKY, WM97XX_GPIO_WAKE);
/* turn off irq gpio inverting */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|