linux-stable/drivers/pwm
Hans de Goede 0b63a86ea9 pwm: lpss: Release runtime-pm reference from the driver's remove callback
[ Upstream commit 42885551ce ]

For each pwm output which gets enabled through pwm_lpss_apply(), we do a
pm_runtime_get_sync().

This commit adds pm_runtime_put() calls to pwm_lpss_remove() to balance
these when the driver gets removed with some of the outputs still enabled.

Fixes: f080be27d7 ("pwm: lpss: Add support for runtime PM")
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:49:59 +01:00
..
core.c pwm: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +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 09:19:47 +01:00
pwm-bcm-kona.c
pwm-bcm2835.c
pwm-berlin.c pwm: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +01:00
pwm-brcmstb.c
pwm-clps711x.c pwm: clps711x: Fix period calculation 2019-12-05 09:20:50 +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: Release runtime-pm reference from the driver's remove callback 2020-01-27 14:49:59 +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: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +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 09:21:29 +01:00
pwm-spear.c
pwm-sti.c
pwm-stm32-lp.c
pwm-stm32.c
pwm-stmpe.c
pwm-sun4i.c
pwm-tegra.c
pwm-tiecap.c
pwm-tiehrpwm.c
pwm-tipwmss.c
pwm-twl-led.c
pwm-twl.c
pwm-vt8500.c
pwm-zx.c
sysfs.c