Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a151a0f authored by Dmitry Artamonow's avatar Dmitry Artamonow Committed by Russell King
Browse files

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: default avatarDmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 1e23221e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -155,12 +155,9 @@ 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);
}
}

/*
 * Enable/Disable wake up events for this serial port.