Message ID | 20200910025631.2996342-3-andrew@aj.id.au |
---|---|
State | Accepted |
Commit | 1d6db5ae6b090d1a8edfcb36b9bf47c5f4fe27f6 |
Headers | show |
Series | pinctrl: aspeed: AST2600 pinconf fixes | expand |
diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed.c b/drivers/pinctrl/aspeed/pinctrl-aspeed.c index 2e0260c1a57c..6a94eaecf638 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed.c @@ -534,7 +534,7 @@ int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset, val = pmap->val << __ffs(pconf->mask); rc = regmap_update_bits(pdata->scu, pconf->reg, - pmap->mask, val); + pconf->mask, val); if (rc < 0) return rc;