From: Stephen Boyd Date: Mon, 30 Jun 2014 21:54:01 +0000 (-0700) Subject: tty: serial: msm: Support big-endian CPUs X-Git-Tag: cleanup-for-v3.18~124^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68252424a7c757ce0a534696e22e1770408bc01d;p=pandora-kernel.git tty: serial: msm: Support big-endian CPUs 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 hardware while controlling it. Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed