linux-brain/drivers/pwm
Uwe Kleine-König c37a34d797 pwm: stm32-lp: Don't modify HW state in .remove() callback
[ Upstream commit d44084c93427bb0a9261432db1a8ca76a42d805e ]

A consumer is expected to disable a PWM before calling pwm_put(). And if
they didn't there is hopefully a good reason (or the consumer needs
fixing). Also if disabling an enabled PWM was the right thing to do,
this should better be done in the framework instead of in each low level
driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-26 14:07:13 +02:00
..
core.c
Kconfig
Makefile
pwm-ab8500.c
pwm-atmel-hlcdc.c
pwm-atmel-tcb.c
pwm-atmel.c
pwm-bcm-iproc.c pwm: bcm-iproc: handle clk_get_rate() return 2020-08-21 13:05:34 +02:00
pwm-bcm-kona.c
pwm-bcm2835.c
pwm-berlin.c
pwm-brcmstb.c
pwm-clps711x.c
pwm-crc.c
pwm-cros-ec.c
pwm-ep93xx.c
pwm-fsl-ftm.c
pwm-hibvt.c
pwm-img.c pwm: img: Don't modify HW state in .remove() callback 2021-09-26 14:07:13 +02:00
pwm-imx-tpm.c
pwm-imx1.c pwm: imx1: Don't disable clocks at device remove time 2021-07-20 16:10:50 +02:00
pwm-imx27.c
pwm-jz4740.c
pwm-lp3943.c pwm: lp3943: Dynamically allocate PWM chip base 2020-12-30 11:51:28 +01:00
pwm-lpc18xx-sct.c
pwm-lpc32xx.c pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered 2021-09-26 14:07:09 +02:00
pwm-lpss-pci.c
pwm-lpss-platform.c
pwm-lpss.c pwm: lpss: Add range limit check for the base_unit register value 2020-10-29 09:57:38 +01:00
pwm-lpss.h
pwm-mediatek.c
pwm-meson.c
pwm-mtk-disp.c
pwm-mxs.c
pwm-omap-dmtimer.c
pwm-pca9685.c
pwm-puv3.c
pwm-pxa.c
pwm-rcar.c
pwm-renesas-tpu.c
pwm-rockchip.c pwm: rockchip: Don't modify HW state in .remove() callback 2021-09-26 14:07:13 +02:00
pwm-samsung.c
pwm-sifive.c
pwm-spear.c pwm: spear: Don't modify HW state in .remove callback 2021-07-20 16:10:46 +02:00
pwm-sprd.c pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped 2021-07-28 13:30:53 +02:00
pwm-sti.c
pwm-stm32-lp.c pwm: stm32-lp: Don't modify HW state in .remove() callback 2021-09-26 14:07:13 +02:00
pwm-stm32.c
pwm-stmpe.c
pwm-sun4i.c
pwm-tegra.c pwm: tegra: Don't modify HW state in .remove callback 2021-07-20 16:10:48 +02:00
pwm-tiecap.c
pwm-tiehrpwm.c
pwm-tipwmss.c
pwm-twl-led.c
pwm-twl.c
pwm-vt8500.c
pwm-zx.c pwm: zx: Add missing cleanup in error path 2020-12-30 11:51:28 +01:00
sysfs.c