linux/drivers/pwm
Zoltan HERPAI ce4f2cd733 pwm: img: fix pwm clock lookup
[ Upstream commit 9eb05877db ]

22e8e19 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: Zoltan HERPAI <wigyori@uid0.hu>
Link: https://lore.kernel.org/r/20240320083602.81592-1-wigyori@uid0.hu
Fixes: 22e8e19a46 ("pwm: img: Rename variable pointing to driver private data")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:32:35 +02:00
..
core.c pwm: Fix out-of-bounds access in of_pwm_single_xlate() 2024-01-12 18:24:55 +01:00
Kconfig pwm: dwc: split pci out of core driver 2023-10-13 10:07:17 +02:00
Makefile pwm: dwc: split pci out of core driver 2023-10-13 10:07:17 +02:00
pwm-ab8500.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-apple.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-atmel-hlcdc.c pwm: atmel-hlcdc: Fix clock imbalance related to suspend support 2024-03-26 18:16:38 -04:00
pwm-atmel-tcb.c pwm: atmel-tcb: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-atmel.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-bcm2835.c pwm: bcm2835: Remove duplicate call to clk_rate_exclusive_put() 2024-01-12 17:51:36 +01:00
pwm-bcm-iproc.c pwm: bcm-iproc: Simplify using devm functions 2023-10-13 10:07:18 +02:00
pwm-bcm-kona.c pwm: Stop referencing pwm->chip 2023-12-20 16:04:14 +01:00
pwm-berlin.c pwm: berlin: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-brcmstb.c pwm: brcmstb: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-clk.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-clps711x.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-crc.c pwm: crc: Use consistent variable naming for driver data 2023-12-20 16:23:24 +01:00
pwm-cros-ec.c pwm: cros-ec: Drop documentation for dropped struct member 2023-12-20 18:28:24 +01:00
pwm-dwc-core.c pwm: dwc: add PWM bit unset in get_state call 2023-10-13 10:07:17 +02:00
pwm-dwc.c pwm: dwc: use pm_sleep_ptr() macro 2024-03-26 18:16:44 -04:00
pwm-dwc.h pwm: dwc: make timer clock configurable 2023-10-13 10:07:17 +02:00
pwm-ep93xx.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-fsl-ftm.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-hibvt.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-img.c pwm: img: fix pwm clock lookup 2024-04-03 15:32:35 +02:00
pwm-imx1.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-imx27.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-imx-tpm.c pwm: imx-tpm: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-intel-lgm.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-iqs620a.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-jz4740.c pwm: jz4740: Don't use dev_err_probe() in .request() 2024-01-12 18:25:05 +01:00
pwm-keembay.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-lp3943.c pwm: lp3943: Drop usage of pwm_[gs]et_chip_data() 2023-10-13 10:07:17 +02:00
pwm-lpc18xx-sct.c pwm: lpc18xx-sct: Don't modify the cached period of other PWM outputs 2023-12-20 17:01:43 +01:00
pwm-lpc32xx.c pwm: Stop referencing pwm->chip 2023-12-20 16:04:14 +01:00
pwm-lpss-pci.c pwm: lpss: Rename pwm_lpss_probe() --> devm_pwm_lpss_probe() 2022-11-22 16:36:27 +02:00
pwm-lpss-platform.c pwm: lpss-platform: Convert to platform remove callback returning void 2023-03-30 16:26:32 +02:00
pwm-lpss.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-lpss.h pwm: lpss: Allow other drivers to enable PWM LPSS 2022-11-22 16:36:27 +02:00
pwm-mediatek.c pwm: Stop referencing pwm->chip 2023-12-20 16:04:14 +01:00
pwm-meson.c pwm: meson: Simplify using dev_err_probe() 2023-12-20 16:25:53 +01:00
pwm-microchip-core.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-mtk-disp.c pwm: mtk-disp: Simplify using devm_pwmchip_add() 2023-10-13 10:07:18 +02:00
pwm-mxs.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-ntxec.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-omap-dmtimer.c pwm: omap-dmtimer: Drop locking 2023-12-20 16:22:50 +01:00
pwm-pca9685.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-pxa.c pwm: pxa: Explicitly include correct DT includes 2023-10-13 10:07:18 +02:00
pwm-raspberrypi-poe.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-rcar.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-renesas-tpu.c pwm: renesas: Remove unused include 2023-12-20 16:07:05 +01:00
pwm-rockchip.c pwm: Use device_get_match_data() 2023-12-20 16:04:13 +01:00
pwm-rz-mtu3.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-samsung.c pwm: samsung: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-sifive.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-sl28cpld.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-spear.c pwm: spear: Simplify using devm functions 2023-10-13 10:07:18 +02:00
pwm-sprd.c pwm: sprd: Simplify using devm_pwmchip_add() and dev_err_probe() 2023-10-13 10:07:18 +02:00
pwm-sti.c pwm: sti: Fix capture for st,pwm-num-chan < st,capture-num-chan 2024-03-26 18:16:40 -04:00
pwm-stm32-lp.c pwm: stm32-lp: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-stm32.c pwm: stm32: Fix enable count for clk in .probe() 2023-12-20 16:04:14 +01:00
pwm-stmpe.c pwm: stmpe: Silence duplicate error messages 2023-12-20 16:25:43 +01:00
pwm-sun4i.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-sunplus.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-tegra.c pwm: Stop referencing pwm->chip 2023-12-20 16:04:14 +01:00
pwm-tiecap.c pwm: tiecap: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-tiehrpwm.c pwm: tiehrpwm: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions 2023-12-20 16:04:13 +01:00
pwm-twl-led.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00
pwm-twl.c pwm: Stop referencing pwm->chip 2023-12-20 16:04:14 +01:00
pwm-visconti.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
pwm-vt8500.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00
pwm-xilinx.c pwm: Manage owner assignment implicitly for drivers 2023-10-13 10:07:17 +02:00
sysfs.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00