The changeset fixes a number of issues within current implementation of LPC32xx PWM controller driver, namely - the SoC has two independent PWM controllers with one channel each, - runtime warnings from common clock framework, - overflow in duty cycle calculation may result in disabled PWM, - unsupported period values are silently accepted.
Vladimir Zapolskiy (4): pwm: lpc32xx: correct number of PWM channels from 2 to 1 pwm: lpc32xx: fix warnings from common clock framework pwm: lpc32xx: fix and simplify duty cycle and period calculations pwm: lpc32xx: return ERANGE, if requested period is not supported drivers/pwm/pwm-lpc32xx.c | 59 ++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 37 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-pwm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
