Skip to content

Commit

Permalink
[ARM] 5147/1: pxaficp_ir: drop pxa_gpio_mode calls, as pin setting
Browse files Browse the repository at this point in the history
	is handled in board code

Signed-off-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
lumag authored and Russell King committed Jul 9, 2008
1 parent 918dbcb commit 73d1a2c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/net/irda/pxaficp_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <asm/dma.h>
#include <asm/arch/irda.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/pxa2xx-gpio.h>

#define IrSR_RXPL_NEG_IS_ZERO (1<<4)
#define IrSR_RXPL_POS_IS_ZERO 0x0
Expand Down Expand Up @@ -148,10 +147,6 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed)
/* set board transceiver to SIR mode */
si->pdata->transceiver_mode(si->dev, IR_SIRMODE);

/* configure GPIO46/47 */
pxa_gpio_mode(GPIO46_STRXD_MD);
pxa_gpio_mode(GPIO47_STTXD_MD);

/* enable the STUART clock */
pxa_irda_enable_sirclk(si);
}
Expand Down Expand Up @@ -186,10 +181,6 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed)
/* set board transceiver to FIR mode */
si->pdata->transceiver_mode(si->dev, IR_FIRMODE);

/* configure GPIO46/47 */
pxa_gpio_mode(GPIO46_ICPRXD_MD);
pxa_gpio_mode(GPIO47_ICPTXD_MD);

/* enable the FICP clock */
pxa_irda_enable_firclk(si);

Expand Down

0 comments on commit 73d1a2c

Please sign in to comment.