kernel/drivers/gpio/gpio-aspeed.c
.. .. @@ -966,7 +966,7 @@ 966 966 else if (param == PIN_CONFIG_BIAS_DISABLE || 967 967 param == PIN_CONFIG_BIAS_PULL_DOWN || 968 968 param == PIN_CONFIG_DRIVE_STRENGTH) 969 - return pinctrl_gpio_set_config(offset, config);969 + return pinctrl_gpio_set_config(chip->base + offset, config);970 970 else if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN || 971 971 param == PIN_CONFIG_DRIVE_OPEN_SOURCE) 972 972 /* Return -ENOTSUPP to trigger emulation, as per datasheet */