linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] leds: qcom-lpg: add missing PWM dependency
@ 2022-05-05  8:03 Johan Hovold
  2022-05-07 21:20 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Hovold @ 2022-05-05  8:03 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Bjorn Andersson, linux-leds, linux-kernel, Johan Hovold

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")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 drivers/leds/rgb/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig
index 5dd27ad80856..1e35433d061a 100644
--- a/drivers/leds/rgb/Kconfig
+++ b/drivers/leds/rgb/Kconfig
@@ -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
-- 
2.35.1


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

* Re: [PATCH] leds: qcom-lpg: add missing PWM dependency
  2022-05-05  8:03 [PATCH] leds: qcom-lpg: add missing PWM dependency Johan Hovold
@ 2022-05-07 21:20 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2022-05-07 21:20 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Bjorn Andersson, linux-leds, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

On Thu 2022-05-05 10:03:58, Johan Hovold wrote:
> The Qualcomm LPG driver fails to probe unless PWM support is enabled so
> add the missing Kconfig dependency.

Thank you, applied.

Best regards,

								Pavel

-- 
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

end of thread, other threads:[~2022-05-07 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05  8:03 [PATCH] leds: qcom-lpg: add missing PWM dependency Johan Hovold
2022-05-07 21:20 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).