summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorDavid Jander <david@protonic.nl>2019-08-27 06:46:29 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-16 08:23:17 +0200
commitd89e8b4684f193a5661968c492e08639c965d23b (patch)
tree9e73e212b025c0cc0285957225adb921937e31f5 /sound/pci
parentb3a1644a19a7f186880472a1e81ba3b1d276b32f (diff)
downloadlinux-stable-d89e8b4684f193a5661968c492e08639c965d23b.tar.gz
linux-stable-d89e8b4684f193a5661968c492e08639c965d23b.tar.bz2
linux-stable-d89e8b4684f193a5661968c492e08639c965d23b.zip
gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_read
commit 438b6c20e6161a1a7542490baa093c86732f77d6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions