linux/drivers/pwm
Philip, Avinash 01b2d4536f pwm: pwm-tiehrpwm: Fix conflicting channel period setting
EHRPWM hardware supports 2 independent PWM channels. However the device
uses only one register to handle period setting for both channels. So
both channels should be configured for same period (in nsec).

Fix the same by returning error for conflicting period values.

However, allow
1. Configuration of period settings if not conflicting with other
channels
2. Re-configuring of period settings if no other channels being
configured

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2012-09-10 17:04:38 +02:00
..
core.c pwm: core: Fix coding style issues 2012-08-17 14:08:26 +02:00
Kconfig pwm: Improve Kconfig help text 2012-08-20 11:58:43 +02:00
Makefile pwm: pwm-tiehrpwm: PWM driver support for EHRPWM 2012-07-26 07:45:20 +02:00
pwm-bfin.c pwm: pwm-bfin: Return proper error if pwmchip_remove() fails 2012-07-23 13:24:00 +02:00
pwm-imx.c pwm: Convert pwm-imx to use devm_* APIs 2012-07-23 13:23:57 +02:00
pwm-lpc32xx.c pwm: add lpc32xx PWM support 2012-07-23 13:24:05 +02:00
pwm-mxs.c pwm: pwm-mxs: Return proper error if pwmchip_remove() fails 2012-07-23 13:24:01 +02:00
pwm-pxa.c pwm: pxa: Propagate pwmchip_remove() error 2012-07-23 13:23:59 +02:00
pwm-samsung.c pwm: samsung: add missing device pointer to struct pwm_chip 2012-08-17 14:08:24 +02: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: Disable APWM mode after configure 2012-09-10 17:03:13 +02:00
pwm-tiehrpwm.c pwm: pwm-tiehrpwm: Fix conflicting channel period setting 2012-09-10 17:04:38 +02:00
pwm-vt8500.c pwm: vt8500: Fix coding style issue 2012-08-17 14:08:25 +02:00