]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
serial: of_serial: Support big-endian register accesses
authorKevin Cernekee <cernekee@gmail.com>
Thu, 9 Apr 2015 20:05:18 +0000 (13:05 -0700)
committerRob Herring <robh@kernel.org>
Wed, 15 Apr 2015 00:35:45 +0000 (19:35 -0500)
commitebc5e20082160df384dedbe1c95066c3e545b689
tree3d81fb76b1fde7b1d0764e2caa149ab933b66c2a
parentc627f2ceb692e8a9358b64ac2d139314e7bb0d17
serial: of_serial: Support big-endian register accesses

If the device node has a "big-endian" property and 32-bit registers, tell
the serial driver to use UPIO_MEM32BE instead of UPIO_MEM32.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/tty/serial/of_serial.c