commit | 438b6c20e6161a1a7542490baa093c86732f77d6 | [log] [tgz] |
---|---|---|
author | David Jander <david@protonic.nl> | Tue Aug 27 06:46:29 2019 +0000 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Wed Aug 28 12:55:24 2019 +0200 |
tree | 4aa9c27b47d10fadc92e62e8b46fc7fa511c8307 | |
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>