diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 04:14:21 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:48 -0500 |
commit | 846c864cac520eaa10e845f585f05af643aa848a (patch) | |
tree | bcf872e65058306ea6eb3fab08998510534ddfe2 | |
parent | c11b6a420b092a576e003bbb520392268338d97b (diff) |
[ARM] pxa: remove now unnecessary pxa_gpio_mode() calls in ac97
Now most (if not all) PXA platforms have been switched to the new MFP
API, it's rather safe to remove these unnecessary pxa_gpio_mode() calls
in pxa2xx-ac97-lib.c now.
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
-rw-r--r-- | sound/arm/pxa2xx-ac97-lib.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/arm/pxa2xx-ac97-lib.c index ee687283b6a1..88eec3847df2 100644 --- a/sound/arm/pxa2xx-ac97-lib.c +++ b/sound/arm/pxa2xx-ac97-lib.c | |||
@@ -22,7 +22,6 @@ | |||
22 | 22 | ||
23 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
24 | #include <mach/regs-ac97.h> | 24 | #include <mach/regs-ac97.h> |
25 | #include <mach/pxa2xx-gpio.h> | ||
26 | #include <mach/audio.h> | 25 | #include <mach/audio.h> |
27 | 26 | ||
28 | static DEFINE_MUTEX(car_mutex); | 27 | static DEFINE_MUTEX(car_mutex); |
@@ -338,13 +337,6 @@ int __devinit pxa2xx_ac97_hw_probe(struct platform_device *dev) | |||
338 | reset_gpio = 113; | 337 | reset_gpio = 113; |
339 | } | 338 | } |
340 | 339 | ||
341 | if (cpu_is_pxa25x() || cpu_is_pxa27x()) { | ||
342 | pxa_gpio_mode(GPIO31_SYNC_AC97_MD); | ||
343 | pxa_gpio_mode(GPIO30_SDATA_OUT_AC97_MD); | ||
344 | pxa_gpio_mode(GPIO28_BITCLK_AC97_MD); | ||
345 | pxa_gpio_mode(GPIO29_SDATA_IN_AC97_MD); | ||
346 | } | ||
347 | |||
348 | if (cpu_is_pxa27x()) { | 340 | if (cpu_is_pxa27x()) { |
349 | /* Use GPIO 113 as AC97 Reset on Bulverde */ | 341 | /* Use GPIO 113 as AC97 Reset on Bulverde */ |
350 | pxa27x_assert_ac97reset(reset_gpio, 0); | 342 | pxa27x_assert_ac97reset(reset_gpio, 0); |