Skip to contentSkip to conversation

leds: ktd2692: Set missing timing

PATCH Applied Raymond Hackley 3 participants 4 messages Nov 3, 2024 – Nov 6, 2024 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: ktd2692: Set missing timing

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

Fixes b5a8c50e5c18 ("leds: ktd2692: Convert to use ExpressWire library")
---
 drivers/leds/flash/leds-ktd2692.c | 1 +
 1 file changed, 1 insertion(+)
drivers/leds/flash/leds-ktd2692.c +1 -0
index 7bb0aa2753e3..0a8632b0da30 100644
@@ -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)
Signature · 1 line
2.39.5
maintainer Applied
#2 lore raw

Re: (subset) [PATCH] leds: ktd2692: Set missing timing

In reply to Raymond Hackley
Quoted 3 lines · Raymond Hackley

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

Applied, thanks!

[1/1] leds: ktd2692: Set missing timing

      commit: 95c65546f03f888481eda98b499947252e1f3b20

--
Lee Jones [李琼斯]

maintainer
#3 lore raw

Re: (subset) [PATCH] leds: ktd2692: Set missing timing

Quoted 9 lines · Lee Jones
Quoted 3 lines · Raymond Hackley

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

Applied, thanks!

[1/1] leds: ktd2692: Set missing timing

      commit: 95c65546f03f888481eda98b499947252e1f3b20

Please make sure you run checkpatch.pl in future.

Signature · 1 line
Lee Jones [李琼斯]