diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-09-11 23:31:51 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-04-20 14:29:44 +0300 |
commit | 2672a4bff6c03a20d5ae460a091f67ee782c3eff (patch) | |
tree | 3868be06e72a67af2224c1831caa3b67d462dfaf /arch/arm/mach-pxa/magician.c | |
parent | 57bf0f5a162d386cc1a33f8dd492bb7a2cf8e8ac (diff) | |
download | linux-2672a4bff6c03a20d5ae460a091f67ee782c3eff.tar.xz |
ARM: pxa: maybe fix gpio lookup tables
From inspection I found a couple of GPIO lookups that are
listed with device "gpio-pxa", but actually have a number
from a different gpio controller.
Try to rectify that here, with a guess of what the actual
device name is.
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/magician.c')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 20ca3e28c7fb..d105deb1e098 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c @@ -681,7 +681,7 @@ static struct platform_device bq24022 = { static struct gpiod_lookup_table bq24022_gpiod_table = { .dev_id = "gpio-regulator", .table = { - GPIO_LOOKUP("gpio-pxa", EGPIO_MAGICIAN_BQ24022_ISET2, + GPIO_LOOKUP("htc-egpio-0", EGPIO_MAGICIAN_BQ24022_ISET2 - MAGICIAN_EGPIO_BASE, NULL, GPIO_ACTIVE_HIGH), GPIO_LOOKUP("gpio-pxa", GPIO30_MAGICIAN_BQ24022_nCHARGE_EN, "enable", GPIO_ACTIVE_LOW), |