]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tegra: fix register address calculations for Tegra30
authorStephen Warren <swarren@nvidia.com>
Fri, 16 Mar 2012 23:35:08 +0000 (17:35 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 4 Apr 2012 19:13:13 +0000 (13:13 -0600)
commitc234bef6b524c65854280c3ff54a23a6f0667e94
tree5d10963dbeef2a2db87cb78685716ee67423db72
parentf6668f74d5b8d670730db2b990d7858425f3b63c
gpio: tegra: fix register address calculations for Tegra30

Tegra20 and Tegra30 share the same register layout within registers, but
the addresses of the registers is a little different. Fix the driver to
cope with this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
drivers/gpio/gpio-tegra.c