diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2009-07-17 06:50:43 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-09-10 06:49:39 -0400 |
commit | c4bd01727380ce666aba987b3d7c0e838cb99bbe (patch) | |
tree | 5ee425da3645c1371b154bc47d1ae7ab3c81041b /arch/arm/mach-pxa/magician.c | |
parent | 2a23ec3679d84ac243add761fa3d3872cf6dcb11 (diff) |
[ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c
and convert PXA-based devices to gpio_pwdown where possible.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/magician.c')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 0daba43d7ca1..5360c07f5138 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -140,15 +140,9 @@ static unsigned long magician_pin_config[] __initdata = { | |||
140 | * IRDA | 140 | * IRDA |
141 | */ | 141 | */ |
142 | 142 | ||
143 | static void magician_irda_transceiver_mode(struct device *dev, int mode) | ||
144 | { | ||
145 | gpio_set_value(GPIO83_MAGICIAN_nIR_EN, mode & IR_OFF); | ||
146 | pxa2xx_transceiver_mode(dev, mode); | ||
147 | } | ||
148 | |||
149 | static struct pxaficp_platform_data magician_ficp_info = { | 143 | static struct pxaficp_platform_data magician_ficp_info = { |
150 | .transceiver_cap = IR_SIRMODE | IR_OFF, | 144 | .gpio_pwdown = GPIO83_MAGICIAN_nIR_EN, |
151 | .transceiver_mode = magician_irda_transceiver_mode, | 145 | .transceiver_cap = IR_SIRMODE | IR_OFF, |
152 | }; | 146 | }; |
153 | 147 | ||
154 | /* | 148 | /* |