diff options
author | David Jander <david@protonic.nl> | 2019-08-27 06:46:29 +0000 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-08-28 12:55:24 +0200 |
commit | 438b6c20e6161a1a7542490baa093c86732f77d6 (patch) | |
tree | 4aa9c27b47d10fadc92e62e8b46fc7fa511c8307 /ipc/ipc_sysctl.c | |
parent | bc624a06f0c5190bc37fec7d22cd82b43a579698 (diff) |
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 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions