summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRaymond Hackley <raymondhackley@protonmail.com>2024-11-03 08:35:16 +0000
committerLee Jones <lee@kernel.org>2024-11-06 08:35:21 +0000
commit95c65546f03f888481eda98b499947252e1f3b20 (patch)
treeb0cc63334ac375ba17f70d6faca23b99b83d88db /drivers
parent02f58f97419c828f58e30f24f54395ac9be159c0 (diff)
leds: ktd2692: Set missing timing properties
props.timing is not set after commit b5a8c50e5c18 ("leds: ktd2692: Convert to use ExpressWire library"). Set it with ktd2692_timing. Fixes: b5a8c50e5c18 ("leds: ktd2692: Convert to use ExpressWire library") Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> Acked-by: Duje Mihanović <duje.mihanovic@skole.hr> Link: https://lore.kernel.org/r/20241103083505.49648-1-raymondhackley@protonmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/flash/leds-ktd2692.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/flash/leds-ktd2692.c b/drivers/leds/flash/leds-ktd2692.c
index 2e42f845df28..743830a10f99 100644
--- a/drivers/leds/flash/leds-ktd2692.c
+++ b/drivers/leds/flash/leds-ktd2692.c
@@ -292,6 +292,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)