diff options
author | David Jander <david@protonic.nl> | 2019-08-27 09:46:29 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-08-28 13:55:24 +0300 |
commit | 438b6c20e6161a1a7542490baa093c86732f77d6 (patch) | |
tree | 4aa9c27b47d10fadc92e62e8b46fc7fa511c8307 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bc624a06f0c5190bc37fec7d22cd82b43a579698 (diff) | |
download | linux-438b6c20e6161a1a7542490baa093c86732f77d6.tar.xz |
gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_read
The register number needs to be translated for chips with more than 8
ports. This patch fixes a bug causing all chips with more than 8 GPIO pins
to not work correctly.
Fixes: 0f25fda840a9 ("gpio: pca953x: Zap ad-hoc reg_direction cache")
Cc: Cc: <stable@vger.kernel.org>
Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions