Skip to content

Commit

Permalink
Merge tag 'pinctrl-v5.5-4' of git://git.kernel.org/pub/scm/linux/kern…
Browse files Browse the repository at this point in the history
…el/git/linusw/linux-pinctrl

Pull pin control fixes from Linus Walleij:
 "Two fixes for pin control, not much to say about it, it's just regular
  driver fixes:

   - Fix erroneous shift in the Meson driver

   - Make Lochnagar select the GPIOLIB Kconfig symbol"

* tag 'pinctrl-v5.5-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
  pinctrl: meson: Fix wrong shift value when get drive-strength
  pinctrl: lochnagar: select GPIOLIB
  • Loading branch information
Linus Torvalds committed Jan 9, 2020
2 parents b5b3159 + 35c60be commit a6a55b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pinctrl/cirrus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
config PINCTRL_LOCHNAGAR
tristate "Cirrus Logic Lochnagar pinctrl driver"
depends on MFD_LOCHNAGAR
select GPIOLIB
select PINMUX
select PINCONF
select GENERIC_PINCONF
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/meson/pinctrl-meson.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ static int meson_pinconf_get_drive_strength(struct meson_pinctrl *pc,
return ret;

meson_calc_reg_and_bit(bank, pin, REG_DS, &reg, &bit);
bit = bit << 1;

ret = regmap_read(pc->reg_ds, reg, &val);
if (ret)
Expand Down

0 comments on commit a6a55b5

Please sign in to comment.