commit | 4ce504c4eb5628073f35d38efe490554a12aee04 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Sep 07 14:12:05 2017 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Sep 12 11:27:36 2017 +0200 |
tree | 16e635bcdc7069d4241c7d4c95643e61cb13f0ac | |
parent | 41470c379b4f8d9a1513d930338fadfbccc287b6 [diff] |
pinctrl: sprd: fix off by one bugs info->groups[] has info->ngroups elements so these comparisons should be >= instead of >. Fixes: 41d32cfce1ae ("pinctrl: sprd: Add Spreadtrum pin control driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Baolin Wang <baolin.wang@spreadtrum.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>