aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPhil Reid <[email protected]>2016-11-08 06:00:45 +0000
committerLinus Walleij <[email protected]>2016-11-08 09:29:42 +0000
commit53f8d322234649b4d6f1515b20c127a577efd164 (patch)
treea0a415504e0fae15c37a4ef7473f9ddeb9cad716 /lib/debugobjects.c
parentLinux 4.9-rc4 (diff)
downloadkernel-53f8d322234649b4d6f1515b20c127a577efd164.tar.gz
kernel-53f8d322234649b4d6f1515b20c127a577efd164.zip
gpio: pca953x: Fix corruption of other gpios in set_multiple.
gpiod_set_array_value_complex does not clear the bits field. Therefore when the drivers set_multiple funciton is called bits outside the mask are undefined and can be either set or not. So bank_val needs to be masked with bank_mask before or with the reg_val cache. Cc: [email protected] Fixes: b4818afeacbd ("gpio: pca953x: Add set_multiple to allow multiple") Signed-off-by: Phil Reid <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions