Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH] pinctrl: fix kismet issues with GENERIC_PINCTRL
@ 2026-01-30 23:55 Conor Dooley
  2026-02-03  0:03 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Conor Dooley @ 2026-01-30 23:55 UTC (permalink / raw)
  To: linusw; +Cc: conor, linux-gpio, Conor Dooley, kernel test robot

From: Conor Dooley <conor.dooley@microchip.com>

lkp reported that GENERIC_PINCTRL can be select when its dependencies
are not. Swap the "depends on" out for "select", as is used in other
parts of the pinctrl core that are expected to be selected by drivers.

Fixes: 43722575e5cd ("pinctrl: add generic functions + pins mapper")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601271725.gqlQ8Jl7-lkp@intel.com/
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
 drivers/pinctrl/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 6cc5e214f4f3..afecd9407f53 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -27,9 +27,9 @@ config GENERIC_PINCONF
 
 config GENERIC_PINCTRL
 	bool
-	depends on GENERIC_PINCONF
-	depends on GENERIC_PINCTRL_GROUPS
-	depends on GENERIC_PINMUX_FUNCTIONS
+	select GENERIC_PINCONF
+	select GENERIC_PINCTRL_GROUPS
+	select GENERIC_PINMUX_FUNCTIONS
 
 config DEBUG_PINCTRL
 	bool "Debug PINCTRL calls"
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: fix kismet issues with GENERIC_PINCTRL
  2026-01-30 23:55 [PATCH] pinctrl: fix kismet issues with GENERIC_PINCTRL Conor Dooley
@ 2026-02-03  0:03 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2026-02-03  0:03 UTC (permalink / raw)
  To: Conor Dooley; +Cc: linux-gpio, Conor Dooley, kernel test robot

On Sat, Jan 31, 2026 at 12:55 AM Conor Dooley <conor@kernel.org> wrote:

> From: Conor Dooley <conor.dooley@microchip.com>
>
> lkp reported that GENERIC_PINCTRL can be select when its dependencies
> are not. Swap the "depends on" out for "select", as is used in other
> parts of the pinctrl core that are expected to be selected by drivers.
>
> Fixes: 43722575e5cd ("pinctrl: add generic functions + pins mapper")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202601271725.gqlQ8Jl7-lkp@intel.com/
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

Patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-03  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30 23:55 [PATCH] pinctrl: fix kismet issues with GENERIC_PINCTRL Conor Dooley
2026-02-03  0:03 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox