summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2016-11-08 13:18:11 +0800
committerLinus Walleij <linus.walleij@linaro.org>2016-11-08 10:29:47 +0100
commit386377b5473043c09b2de40bfe5abfb0fc87e1b4 (patch)
treea0514a12d5fb118951c07382435ba857e334f536 /drivers/gpio/gpiolib.c
parent53f8d322234649b4d6f1515b20c127a577efd164 (diff)
downloadblackbird-obmc-linux-386377b5473043c09b2de40bfe5abfb0fc87e1b4.tar.gz
blackbird-obmc-linux-386377b5473043c09b2de40bfe5abfb0fc87e1b4.zip
gpio: pca953x: Move memcpy into mutex lock for set multiple
Need to ensure that reg_output is not updated while setting multiple bits. This makes the mutex locking behaviour for the set_multiple call consistent with that of the set_value call. Cc: stable@vger.kernel.org Fixes: b4818afeacbd ("gpio: pca953x: Add set_multiple to allow multiple") Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud