mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
ARM: 5796/1: SA1100: h3600: remove IRDA bits from serial PM callback
IRDA is handled by separate sa1100-ir driver and has nothing to do with sa1100_serial Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
1e23221e98
commit
2a151a0f12
@ -155,11 +155,8 @@ static u_int h3xxx_uart_get_mctrl(struct uart_port *port)
|
||||
|
||||
static void h3xxx_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
|
||||
{
|
||||
if (port->mapbase == _Ser2UTCR0) { /* TODO: REMOVE THIS */
|
||||
assign_h3600_egpio(IPAQ_EGPIO_IR_ON, !state);
|
||||
} else if (port->mapbase == _Ser3UTCR0) {
|
||||
if (port->mapbase == _Ser3UTCR0)
|
||||
assign_h3600_egpio(IPAQ_EGPIO_RS232_ON, !state);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user