diff options
author | 2013-07-26 13:39:53 -0700 | |
---|---|---|
committer | 2013-08-16 15:04:40 +0200 | |
commit | 8b628c659ce1e2a8714ebcfe55f80457a4ebe734 (patch) | |
tree | 05130f324a094949ee1a9b149ffe3b600877fe24 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: palmas: add dt support (diff) | |
download | linux-dev-8b628c659ce1e2a8714ebcfe55f80457a4ebe734.tar.xz linux-dev-8b628c659ce1e2a8714ebcfe55f80457a4ebe734.zip |
gpio: palmas: Fix misreported GPIO out value
It seems that the value read back from the PALMAS_GPIO_DATA_IN register
isn't valid if the GPIO direction is out. When that's the case, we can
read back the PALMAS_GPIO_DATA_OUT register to get the proper output value.
Signed-off-by: Andrew Chew <achew@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions