commit | 7a702691d0ceb1a3a2199a1c7a15ddb5fbb50b7d | [log] [tgz] |
---|---|---|
author | William Breathitt Gray <vilhelm.gray@gmail.com> | Mon Oct 22 21:09:49 2018 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Nov 05 08:54:42 2018 +0100 |
tree | 33a0271ad92bb55428770510fa9dddb8dfd4a740 | |
parent | 3bfbc44029926e1bc4b89d16f562a364b2c9379e [diff] |
gpio: ws16c48: Mask read inputs for get_multiple This patch masks the read inputs with the word mask in order to ensure only requested input states are returned in the bits array. Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>