On Tue, Jul 02, 2013 at 02:30:24PM +0800, Huang Shijie wrote: > @@ -801,7 +814,7 @@ static int imx_startup(struct uart_port *port) > } > } > > - if (is_imx21_uart(sport)) { > + if (is_imx21_uart(sport) || is_imx6_uart(sport)) { Would it be better to use (!is_imx1_uart(sport)) here? Thus when there is another derivative of imx21-uart device to be added, we do not need to touch this line again. Shawn > temp = readl(sport->port.membase + UCR3); > temp |= IMX21_UCR3_RXDMUXSEL; > writel(temp, sport->port.membase + UCR3); -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html