1
linux/drivers/pwm
Alban Bedel 54b2a999a1 pwm: lpc32xx: Properly disable the clock on device removal
A single clock is used for all PWMs meaning the clock's reference count
might be between 0 and N when .remove() is called. Instead of a single
clk_disable() call pwm_disable() on each PWM, to ensure that
clk_disable() is called for each PWM that is still enabled.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2012-12-06 08:52:11 +01:00
..
core.c pwm: Export of_pwm_xlate_with_flags() 2012-12-06 08:51:38 +01:00
Kconfig pwm: Remove pwm-twl6030 driver 2012-11-28 15:16:20 +01:00
Makefile pwm: Remove pwm-twl6030 driver 2012-11-28 15:16:20 +01:00
pwm-ab8500.c pwm: Move AB8500 PWM driver to PWM framework 2012-09-20 12:52:03 +02:00
pwm-bfin.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-imx.c pwm: i.MX: eliminate build warning 2012-12-06 08:52:04 +01:00
pwm-jz4740.c pwm: Add Ingenic JZ4740 support 2012-10-05 20:56:42 +02:00
pwm-lpc32xx.c pwm: lpc32xx: Properly disable the clock on device removal 2012-12-06 08:52:11 +01:00
pwm-mxs.c pwm: pwm-mxs: Return proper error if pwmchip_remove() fails 2012-07-23 13:24:01 +02:00
pwm-puv3.c pwm: Move PUV3 PWM driver to PWM framework 2012-10-05 20:56:41 +02:00
pwm-pxa.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-samsung.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-spear.c pwm: spear: Staticize spear_pwm_config() 2012-11-22 22:47:10 +01:00
pwm-tegra.c pwm: Remove a redundant error message when devm_request_and_ioremap fails 2012-08-17 14:08:25 +02:00
pwm-tiecap.c pwm: pwm-tiecap: pinctrl support 2012-11-28 15:16:16 +01:00
pwm-tiehrpwm.c pwm: pwm-tiehrpwm: pinctrl support 2012-11-28 15:16:18 +01:00
pwm-tipwmss.c pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-tipwmss.h pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-twl-led.c pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs 2012-11-28 15:16:19 +01:00
pwm-twl.c pwm: New driver to support PWMs on TWL4030/6030 series of PMICs 2012-11-28 15:16:19 +01:00
pwm-vt8500.c pwm: vt8500: Ensure PWM clock is enabled during pwm_config 2012-11-22 22:47:12 +01:00