linux-stable/drivers/pwm
Zoltan HERPAI 674545b485 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:28:52 +02:00
..
Kconfig mfd: rz-mtu3: Link time dependencies 2023-08-18 21:48:04 +01:00
Makefile
core.c pwm: Fix out-of-bounds access in of_pwm_single_xlate() 2024-01-25 15:35:46 -08:00
pwm-ab8500.c
pwm-apple.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-atmel-hlcdc.c pwm: atmel-hlcdc: Fix clock imbalance related to suspend support 2024-03-26 18:19:26 -04:00
pwm-atmel-tcb.c pwm: atmel-tcb: Don't track polarity in driver data 2023-07-28 09:34:44 +02:00
pwm-atmel.c pwm: atmel: Simplify using devm functions 2023-07-28 10:15:44 +02:00
pwm-bcm-iproc.c
pwm-bcm-kona.c pwm: bcm-kona: Consistently name pwm_chip variables "chip" 2023-07-21 20:23:31 +02:00
pwm-bcm2835.c
pwm-berlin.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-brcmstb.c pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume 2023-11-20 11:59:34 +01:00
pwm-clk.c
pwm-clps711x.c
pwm-crc.c pwm: crc: Consistently name pwm_chip variables "chip" 2023-07-21 20:23:31 +02:00
pwm-cros-ec.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-dwc.c
pwm-ep93xx.c
pwm-fsl-ftm.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-hibvt.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-img.c pwm: img: fix pwm clock lookup 2024-04-03 15:28:52 +02:00
pwm-imx-tpm.c
pwm-imx1.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-imx27.c
pwm-intel-lgm.c
pwm-iqs620a.c
pwm-jz4740.c pwm: jz4740: Don't use dev_err_probe() in .request() 2024-01-25 15:35:46 -08:00
pwm-keembay.c
pwm-lp3943.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-lpc18xx-sct.c pwm: lpc18xx-sct: Simplify using devm_clk_get_enabled() 2023-07-28 09:38:04 +02:00
pwm-lpc32xx.c pwm: lpc32xx: Remove handling of PWM channels 2023-08-22 10:14:16 +02:00
pwm-lpss-pci.c
pwm-lpss-platform.c
pwm-lpss.c
pwm-lpss.h
pwm-mediatek.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-meson.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-microchip-core.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-mtk-disp.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-mxs.c
pwm-ntxec.c pwm: ntxec: Use device_set_of_node_from_dev() 2023-07-28 09:39:02 +02:00
pwm-omap-dmtimer.c
pwm-pca9685.c
pwm-pxa.c pwm: pxa: Don't reimplement of_device_get_match_data() 2023-07-28 09:38:18 +02:00
pwm-raspberrypi-poe.c
pwm-rcar.c
pwm-renesas-tpu.c
pwm-rockchip.c pwm: rockchip: Consistently name pwm_chip variables "chip" 2023-07-21 20:23:31 +02:00
pwm-rz-mtu3.c pwm: rz-mtu3: Fix build warning 'num_channel_ios' not described 2023-07-28 09:24:43 +02:00
pwm-samsung.c
pwm-sifive.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-sl28cpld.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-spear.c
pwm-sprd.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-sti.c pwm: sti: Fix capture for st,pwm-num-chan < st,capture-num-chan 2024-03-26 18:19:27 -04:00
pwm-stm32-lp.c
pwm-stm32.c pwm: stm32: Fix enable count for clk in .probe() 2024-01-25 15:35:39 -08:00
pwm-stmpe.c pwm: stmpe: Handle errors when disabling the signal 2023-07-28 09:49:18 +02:00
pwm-sun4i.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-sunplus.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-tegra.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-tiecap.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-tiehrpwm.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-twl-led.c
pwm-twl.c
pwm-visconti.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-vt8500.c pwm: Explicitly include correct DT includes 2023-07-24 13:28:05 +02:00
pwm-xilinx.c
sysfs.c