linux-stable/drivers/pwm
Uwe Kleine-König ae21311f81 pwm: Clear chip_data in pwm_put()
commit e926b12c61 upstream.

After a PWM is disposed by its user the per chip data becomes invalid.
Clear the data in common code instead of the device drivers to get
consistent behaviour. Before this patch only three of nine drivers
cleaned up here.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-05 15:38:12 +01:00
..
core.c pwm: Clear chip_data in pwm_put() 2019-12-05 15:38:12 +01:00
Kconfig
Makefile
pwm-ab8500.c
pwm-atmel-hlcdc.c
pwm-atmel-tcb.c
pwm-atmel.c
pwm-bcm-iproc.c pwm: bcm-iproc: Prevent unloading the driver module while in use 2019-12-05 15:37:07 +01:00
pwm-bcm-kona.c
pwm-bcm2835.c
pwm-berlin.c pwm: Clear chip_data in pwm_put() 2019-12-05 15:38:12 +01:00
pwm-bfin.c
pwm-brcmstb.c
pwm-clps711x.c pwm: clps711x: Fix period calculation 2019-12-05 15:37:48 +01:00
pwm-crc.c
pwm-cros-ec.c
pwm-ep93xx.c
pwm-fsl-ftm.c
pwm-hibvt.c
pwm-img.c
pwm-imx.c
pwm-jz4740.c
pwm-lp3943.c
pwm-lpc18xx-sct.c
pwm-lpc32xx.c
pwm-lpss-pci.c
pwm-lpss-platform.c
pwm-lpss.c pwm: lpss: Only set update bit if we are actually changing the settings 2019-12-01 09:13:26 +01:00
pwm-lpss.h
pwm-mediatek.c
pwm-meson.c pwm: meson: Use the spin-lock only to protect register modifications 2019-06-15 11:54:53 +02:00
pwm-mtk-disp.c
pwm-mxs.c
pwm-omap-dmtimer.c
pwm-pca9685.c pwm: Clear chip_data in pwm_put() 2019-12-05 15:38:12 +01:00
pwm-puv3.c
pwm-pxa.c
pwm-rcar.c
pwm-renesas-tpu.c
pwm-rockchip.c
pwm-samsung.c pwm: Clear chip_data in pwm_put() 2019-12-05 15:38:12 +01:00
pwm-spear.c
pwm-sti.c
pwm-stm32-lp.c pwm: stm32-lp: Add check in case requested period cannot be achieved 2019-10-11 18:18:40 +02:00
pwm-stm32.c
pwm-stmpe.c
pwm-sun4i.c
pwm-tegra.c
pwm-tiecap.c
pwm-tiehrpwm.c pwm: tiehrpwm: Update shadow register for disabling PWMs 2019-06-15 11:54:59 +02:00
pwm-tipwmss.c
pwm-twl-led.c
pwm-twl.c
pwm-vt8500.c
pwm-zx.c
sysfs.c pwm: Fix deadlock warning when removing PWM device 2019-06-15 11:54:59 +02:00