diff options
author | Damien Le Moal | 2020-11-07 17:13:57 +0900 |
---|---|---|
committer | Linus Walleij | 2020-11-11 09:53:09 +0100 |
commit | b72de3ff19fdc4bbe4d4bb3f4483c7e46e00bac3 (patch) | |
tree | fd140c35ccfefce381cb4acf5188b340248f6216 /include/uapi | |
parent | 45fe0b539bc9cf6a6832d0d60cb6eab1e5f56bd9 (diff) |
gpio: sifive: Fix SiFive gpio probe
Fix the check on the number of IRQs to allow up to the maximum (32)
instead of only the maximum minus one.
Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Link: https://lore.kernel.org/r/20201107081420.60325-10-damien.lemoal@wdc.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions