Skip to contentSkip to conversation

leds: qcom-lpg: add missing PWM dependency

PATCH Applied Johan Hovold 2 participants 2 messages May 5, 2022 – May 7, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: qcom-lpg: add missing PWM dependency

The Qualcomm LPG driver fails to probe unless PWM support is enabled so add the missing Kconfig dependency.

Fixes 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG")
---
 drivers/leds/rgb/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/leds/rgb/Kconfig +1 -0
index 5dd27ad80856..1e35433d061a 100644
@@ -5,6 +5,7 @@ if LEDS_CLASS_MULTICOLOR
 config LEDS_QCOM_LPG
 	tristate "LED support for Qualcomm LPG"
 	depends on OF
+	depends on PWM
 	depends on SPMI
 	help
 	  This option enables support for the Light Pulse Generator found in a
Signature · 1 line
2.35.1
Applied
#1 lore raw
Quoted 2 lines · Johan Hovold

The Qualcomm LPG driver fails to probe unless PWM support is enabled so add the missing Kconfig dependency.

Thank you, applied.

Best regards,

Pavel

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.