Phil Reid
53f8d32223
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: 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>
2016-11-08 10:29:42 +01:00
..
2016-02-25 10:04:25 +01:00
2016-06-23 11:07:12 +02:00
2016-02-23 20:19:42 +05:30
2016-06-08 10:08:12 +02:00
2016-06-13 14:48:10 +02:00
2016-05-02 09:32:04 -07:00
2016-02-23 20:19:46 +05:30
2016-02-23 20:34:06 +05:30
2016-02-23 20:34:24 +05:30
2016-09-15 14:00:47 +02:00
2016-02-16 00:19:52 +01:00
2016-03-30 10:38:51 +02:00
2016-09-13 10:35:56 +02:00
2016-09-23 15:11:09 +02:00
2016-10-24 00:23:05 +02:00
2016-09-23 15:13:04 +02:00
2016-09-13 10:35:56 +02:00
2016-04-15 10:09:48 +02:00
2016-01-05 11:21:03 +01:00
2016-06-08 10:49:58 +02:00
2016-02-23 20:35:27 +05:30
2016-02-23 20:35:28 +05:30
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-02-22 13:47:49 +01:00
2016-02-23 20:35:30 +05:30
2016-07-22 15:30:42 +02:00
2016-01-05 11:21:05 +01:00
2016-02-23 20:35:30 +05:30
2016-01-05 11:21:00 +01:00
2016-09-18 13:35:06 +02:00
2016-02-23 20:35:31 +05:30
2016-08-11 13:37:25 +02:00
2016-01-05 11:21:00 +01:00
2016-09-28 09:28:34 -07:00
2016-02-16 00:19:53 +01:00
2016-07-22 15:30:40 +02:00
2016-09-12 15:28:18 +02:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:33 +05:30
2016-02-23 20:35:34 +05:30
2016-02-19 00:20:30 +01:00
2016-09-23 15:10:00 +02:00
2016-01-05 11:21:20 +01:00
2016-09-13 10:35:56 +02:00
2016-03-09 22:00:27 +07:00
2016-09-13 10:35:56 +02:00
2016-09-12 14:23:37 +02:00
2016-06-23 11:07:14 +02:00
2016-08-10 15:40:44 +02:00
2016-01-05 11:21:07 +01:00
2015-11-30 09:31:00 +01:00
2015-10-28 10:30:17 +09:00
2016-07-04 11:39:38 +02:00
2016-03-31 15:00:28 +02:00
2016-03-31 15:02:09 +02:00
2016-01-05 11:21:07 +01:00
2016-09-08 00:42:57 +02:00
2016-06-07 09:35:16 +02:00
2016-07-22 15:30:42 +02:00
2016-01-05 11:21:08 +01:00
2016-01-13 10:21:06 +01:00
2016-08-11 16:17:05 +02:00
2016-09-26 11:47:14 -07:00
2016-03-31 15:03:13 +02:00
2016-10-24 02:20:40 +02:00
2016-02-16 00:20:03 +01:00
2016-08-23 11:22:09 +02:00
2016-11-01 19:31:49 +01:00
2016-10-05 11:49:09 -07:00
2016-10-20 14:14:11 +02:00
2016-03-30 10:38:51 +02:00
2016-04-26 15:56:47 +02:00
2016-09-15 13:57:43 +02:00
2016-11-08 10:29:42 +01:00
2016-06-07 09:35:16 +02:00
2016-01-05 15:46:34 +01:00
2016-09-13 10:35:56 +02:00
2016-04-28 14:36:37 +02:00
2016-04-08 10:10:08 +02:00
2016-04-05 17:02:35 +02:00
2016-09-08 01:15:46 +02:00
2016-06-07 09:35:16 +02:00
2016-09-08 00:42:57 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-05-11 13:46:49 +02:00
2016-08-23 11:23:41 +02:00
2016-03-31 15:07:40 +02:00
2016-10-20 14:14:11 +02:00
2016-02-23 20:35:43 +05:30
2016-09-15 13:59:02 +02:00
2016-06-08 10:48:17 +02:00
2016-02-23 20:35:44 +05:30
2016-09-19 10:14:29 +02:00
2016-06-22 17:58:07 +02:00
2016-05-11 13:49:11 +02:00
2016-09-13 10:35:56 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-09-18 13:18:13 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-10-21 14:55:07 +02:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:49 +05:30
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:50 +05:30
2016-01-05 11:21:16 +01:00
2016-01-05 11:21:16 +01:00
2016-02-23 20:35:50 +05:30
2016-08-23 11:24:40 +02:00
2016-06-07 09:35:16 +02:00
2016-01-05 11:21:20 +01:00
2016-04-14 14:03:28 +02:00
2016-09-15 14:03:33 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-05-02 09:32:04 -07:00
2016-03-31 10:22:53 +02:00
2016-05-17 17:39:42 -07:00
2016-06-08 10:33:45 +02:00
2016-06-08 10:54:13 +02:00
2016-01-05 11:21:20 +01:00
2016-05-11 13:50:01 +02:00
2016-03-31 15:10:25 +02:00
2016-09-23 15:26:20 +02:00
2016-10-20 14:15:01 +02:00
2016-07-04 16:51:29 +02:00
2016-10-31 21:23:44 +01:00
2016-09-12 14:53:33 +02:00
2016-10-31 21:23:44 +01:00
2016-10-03 23:38:11 +02:00
2016-10-20 14:14:11 +02:00
2016-09-28 09:30:21 -07:00