diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-03 10:39:26 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-05 09:41:56 +0300 |
commit | f9315f17bf778cb8079a29639419fcc8a41a3c84 (patch) | |
tree | 027ea0452eb4d2d4a658b2b46c2d3c6036d7dff9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | f0575116507b981e6a810e78ce3c9040395b958b (diff) | |
download | linux-f9315f17bf778cb8079a29639419fcc8a41a3c84.tar.xz |
gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
pinctrl_gpio_set_config() expects the GPIO number from the global GPIO
numberspace, not the controller-relative offset, which needs to be added
to the chip base.
Fixes: 5ae4cb94b313 ("gpio: aspeed: Add debounce support")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions