Commit 846c864cac520eaa10e845f585f05af643aa848a
1 parent
c11b6a420b
Exists in
master
and in
20 other branches
[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>
Showing 1 changed file with 0 additions and 8 deletions Side-by-side Diff
sound/arm/pxa2xx-ac97-lib.c
... | ... | @@ -22,7 +22,6 @@ |
22 | 22 | |
23 | 23 | #include <asm/irq.h> |
24 | 24 | #include <mach/regs-ac97.h> |
25 | -#include <mach/pxa2xx-gpio.h> | |
26 | 25 | #include <mach/audio.h> |
27 | 26 | |
28 | 27 | static DEFINE_MUTEX(car_mutex); |
... | ... | @@ -336,13 +335,6 @@ |
336 | 335 | } else { |
337 | 336 | if (cpu_is_pxa27x()) |
338 | 337 | reset_gpio = 113; |
339 | - } | |
340 | - | |
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 | 338 | } |
347 | 339 | |
348 | 340 | if (cpu_is_pxa27x()) { |