public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] leds: ktd2692: Set missing timing
@ 2024-11-03  8:35 Raymond Hackley
  2024-11-03 11:21 ` Duje Mihanović
  2024-11-06  8:35 ` (subset) " Lee Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Raymond Hackley @ 2024-11-03  8:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: pavel, lee, krzysztof.kozlowski, duje.mihanovic, daniel.thompson,
	linus.walleij, u.kleine-koenig, linux-leds

props.timing is not set after b5a8c50e5c18. Set it with ktd2692_timing.

Fixes: b5a8c50e5c18 ("leds: ktd2692: Convert to use ExpressWire library")
Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
---
 drivers/leds/flash/leds-ktd2692.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/leds/flash/leds-ktd2692.c b/drivers/leds/flash/leds-ktd2692.c
index 7bb0aa2753e3..0a8632b0da30 100644
--- a/drivers/leds/flash/leds-ktd2692.c
+++ b/drivers/leds/flash/leds-ktd2692.c
@@ -293,6 +293,7 @@ static int ktd2692_probe(struct platform_device *pdev)
 
 	fled_cdev = &led->fled_cdev;
 	led_cdev = &fled_cdev->led_cdev;
+	led->props.timing = ktd2692_timing;
 
 	ret = ktd2692_parse_dt(led, &pdev->dev, &led_cfg);
 	if (ret)
-- 
2.39.5



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

end of thread, other threads:[~2024-11-06  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03  8:35 [PATCH] leds: ktd2692: Set missing timing Raymond Hackley
2024-11-03 11:21 ` Duje Mihanović
2024-11-06  8:35 ` (subset) " Lee Jones
2024-11-06  8:36   ` Lee Jones

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