Skip to content
Commit 44b6fb6c authored by Zoltan HERPAI's avatar Zoltan HERPAI Committed by Greg Kroah-Hartman
Browse files

pwm: img: fix pwm clock lookup

[ Upstream commit 9eb05877 ]

22e8e19a

 has introduced a regression in the imgchip->pwm_clk lookup, whereas
the clock name has also been renamed to "imgchip". This causes the driver
failing to load:

[    0.546905] img-pwm 18101300.pwm: failed to get imgchip clock
[    0.553418] img-pwm: probe of 18101300.pwm failed with error -2

Fix this lookup by reverting the clock name back to "pwm".

Signed-off-by: default avatarZoltan HERPAI <wigyori@uid0.hu>
Link: https://lore.kernel.org/r/20240320083602.81592-1-wigyori@uid0.hu
Fixes: 22e8e19a

 ("pwm: img: Rename variable pointing to driver private data")
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b9d103ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment