leds: ktd2692: Set missing timing properties
[ Upstream commit 95c65546f03f888481eda98b499947252e1f3b20 ] props.timing is not set after commitb5a8c50e5c("leds: ktd2692: Convert to use ExpressWire library"). Set it with ktd2692_timing. Fixes:b5a8c50e5c("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
de60d39e08
commit
4b1d0ed978
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user