aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2014-06-30 14:54:01 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-10 16:10:42 -0700
commit68252424a7c757ce0a534696e22e1770408bc01d (patch)
tree9258881ca0da38a901e21f432a6e4f1685428c56 /lib/test-string_helpers.c
parentdb3a1a43fbb3c0e2f993ce5e7305641075eeb1d6 (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions