[PATCH] tty: serial: msm: Support big-endian CPUs

2014-06-30 Thread Stephen Boyd
To support big-endian CPUs use the string versions of the io read/write macros on the TX/RX fifos and the non-raw variants of the readl/writel macros throughout. This way we don't byteswap the characters coming from the fifos but we properly deal with the little-endian nature of the serial

[PATCH] tty: serial: msm: Support big-endian CPUs

2014-06-30 Thread Stephen Boyd
To support big-endian CPUs use the string versions of the io read/write macros on the TX/RX fifos and the non-raw variants of the readl/writel macros throughout. This way we don't byteswap the characters coming from the fifos but we properly deal with the little-endian nature of the serial