commit | 6e551bfa9872cd335d0929411cfdefe99ce65a1d | [log] [tgz] |
---|---|---|
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | Fri Jan 29 19:56:50 2021 +0530 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Feb 15 11:43:33 2021 +0100 |
tree | 2a6b05154409d66f63c2857edadef49a6aedb710 | |
parent | 26b04774621ed333e8bc56479feb6e31625df58c [diff] |
gpio: gpio-xilinx: Add check if width exceeds 32 Add check to see if gpio-width property does not exceed 32. If it exceeds then return -EINVAL. Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>