diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-03-06 22:44:41 -0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-03-12 15:12:27 +0100 |
commit | dcd278b8604e5c37c61853eb09134cbfea03b7de (patch) | |
tree | d54071ad856f50e8e9c7fa7ff12b2a8cbb8af0ea /drivers/i2c | |
parent | 3525f5556a1b9e15cb1b796771f2c62deed7aa7a (diff) |
pinctrl: msm: Check for ngpios > MAX_NR_GPIO
Fail the probe and print a warning if SoC specific drivers have
more GPIOs than there can be accounted for in the static bitmaps.
This should avoid silent corruption/failures in the future.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions