]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: tegra: Maintain endianness
authorBob Mottram <bob.mottram@codethink.co.uk>
Fri, 9 Jan 2015 15:27:09 +0000 (15:27 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2015 12:18:49 +0000 (13:18 +0100)
commit53bd00dd25f44932f2b6a51438eb654616675663
tree4009acef4284c839d043271469627c752b470517
parent85d787d8eba7a9e754719b12414d549601ecdf4d
gpio: tegra: Maintain endianness

Replace the __raw_writel() with writel_relaxed() to fix issue with
running Tegra in big-endian mode. Tested on Jetson TK1.

Signed-off-by: Bob Mottram <bob.mottram@codethink.co.uk>
Acked-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpio/gpio-tegra.c