diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-06-20 20:30:36 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-25 15:41:41 +0200 |
commit | f2818ba3a0125670cb9999bb5a65ebb631a8da2f (patch) | |
tree | b8c4506d8f874976bd0b46ad1bf08337c0d66738 /kernel | |
parent | 6dbc6e6f58556369bf999cd7d9793586f1b0e4b4 (diff) | |
download | linux-f2818ba3a0125670cb9999bb5a65ebb631a8da2f.tar.bz2 |
pinctrl: ocelot: fix gpio direction for pins after 31
The third argument passed to REG is not the correct one and
ocelot_gpio_set_direction is not working for pins after 31. Fix that by
passing the pin number instead of the modulo 32 value.
Fixes: da801ab56ad8 pinctrl: ocelot: add MSCC Jaguar2 support
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions