f043520c5a
Check for valid period size before calling ops->config. This fixes the pxa driver which otherwise does a division by zero. While at it, also check for duty_ns being smaller or equal to period_ns. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Robert Jarzmik <robert.jarzmik@free.fr> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
pxa_pwm.c |