i2c: tegra: Maintain CPU endianness
authorDmitry Osipenko <digetx@gmail.com>
Mon, 26 Jan 2015 16:55:02 +0000 (19:55 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 26 Jan 2015 20:58:43 +0000 (21:58 +0100)
commit8c340f6090e365ce5bac02eed07c1de3aa83f735
tree592f69e93cbd5af1c83ae9a27a34fd4a660dbf8b
parent9136c5463f990d51c9f9361cd6be27f7f4d8fca7
i2c: tegra: Maintain CPU endianness

Support CPU BE mode by adding endianness conversion for memcpy interactions.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c