diff options
| author | Huang Shijie <[email protected]> | 2012-09-07 02:38:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-06 16:19:50 +0000 |
| commit | 851b714b29db0e394c293170e714f90a778060ad (patch) | |
| tree | 6919798d9e68d94038af5c2a24a7ffd1d7af8209 /drivers/tty/serial/sccnxp.c | |
| parent | serial_core: fix sizeof(pointer) (diff) | |
| download | kernel-851b714b29db0e394c293170e714f90a778060ad.tar.gz kernel-851b714b29db0e394c293170e714f90a778060ad.zip | |
serial: mxs-auart: fix the wrong setting order
After set the AUART_CTRL0_CLKGATE, the UART will gate all the clocks off.
So the following line will not take effect.
................................................................
writel(AUART_INTR_RXIEN | AUART_INTR_RTIEN | AUART_INTR_CTSMIEN,
u->membase + AUART_INTR_CLR);
................................................................
To fix this issue, the patch moves this gate-off line to
the end of setting registers.
Signed-off-by: Huang Shijie <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
