hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/gpio/gpio-aspeed.c
....@@ -966,7 +966,7 @@
966966 else if (param == PIN_CONFIG_BIAS_DISABLE ||
967967 param == PIN_CONFIG_BIAS_PULL_DOWN ||
968968 param == PIN_CONFIG_DRIVE_STRENGTH)
969
- return pinctrl_gpio_set_config(offset, config);
969
+ return pinctrl_gpio_set_config(chip->base + offset, config);
970970 else if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN ||
971971 param == PIN_CONFIG_DRIVE_OPEN_SOURCE)
972972 /* Return -ENOTSUPP to trigger emulation, as per datasheet */