kernel_samsung_a53x/drivers/pwm
Philipp Zabel cc30ea0c00 pwm: stm32: Fix enable count for clk in .probe()
[ Upstream commit 19f1016ea9600ed89bc24247c36ff5934ad94fbb ]

Make the driver take over hardware state without disabling in .probe()
and enable the clock for each enabled channel.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
[ukleinek: split off from a patch that also implemented .get_state()]
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm")
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:43 +01:00
..
core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-ab8500.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-atmel-hlcdc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-atmel-tcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-atmel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-bcm-iproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-bcm-kona.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-bcm2835.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-berlin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-brcmstb.c pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume 2024-11-18 11:43:07 +01:00
pwm-clps711x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-crc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-cros-ec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-ep93xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-fsl-ftm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-hibvt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-img.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-imx-tpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-imx1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-imx27.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-iqs620a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-jz4740.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lp3943.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpc18xx-sct.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpc32xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss-pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-mediatek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-meson.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-mtk-disp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-mxs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-omap-dmtimer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-pca9685.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-pxa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-rcar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-renesas-tpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-samsung.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sifive.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sl28cpld.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-spear.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sprd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sti.c pwm: sti: Reduce number of allocations and drop usage of chip_data 2024-11-18 11:43:07 +01:00
pwm-stm32-lp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-stm32.c pwm: stm32: Fix enable count for clk in .probe() 2024-11-18 12:12:43 +01:00
pwm-stmpe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sun4i.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-tegra.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-tiecap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-tiehrpwm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-twl-led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-twl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-vt8500.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-zx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00