diff options
| author | Andy Shevchenko <[email protected]> | 2025-04-02 12:20:00 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2025-04-08 09:06:33 +0000 |
| commit | 2b9c536430126c233552cdcd6ec9d5077454ece4 (patch) | |
| tree | 8e6791bb5df194b96db6e47d308fbcaa2a8bf409 | |
| parent | gpio: zynq: Fix wakeup source leaks on device unbind (diff) | |
| download | kernel-2b9c536430126c233552cdcd6ec9d5077454ece4.tar.gz kernel-2b9c536430126c233552cdcd6ec9d5077454ece4.zip | |
gpiolib: of: Fix the choice for Ingenic NAND quirk
The Ingenic NAND quirk has been added under CONFIG_LCD_HX8357 ifdeffery
which sounds quite wrong. Fix the choice for Ingenic NAND quirk
by wrapping it into own ifdeffery related to the respective driver.
Fixes: 3a7fd473bd5d ("mtd: rawnand: ingenic: move the GPIO quirk to gpiolib-of.c")
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
| -rw-r--r-- | drivers/gpio/gpiolib-of.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index eb667f8f1ead..8fff6fdfb4a1 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -193,6 +193,8 @@ static void of_gpio_try_fixup_polarity(const struct device_node *np, */ { "himax,hx8357", "gpios-reset", false }, { "himax,hx8369", "gpios-reset", false }, +#endif +#if IS_ENABLED(CONFIG_MTD_NAND_JZ4780) /* * The rb-gpios semantics was undocumented and qi,lb60 (along with * the ingenic driver) got it wrong. The active state encodes the |
