From: Uwe Kleine-König <u.kleine-koe...@pengutronix.de> The jz4740 PMW implementation doesn't fulfill the (up to now insufficiently documented) requirements of the PWM API. At least document them in the driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de> Signed-off-by: Paul Cercueil <p...@crapouillou.net> --- drivers/pwm/pwm-jz4740.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c index 8df898429d47..b331a73a9d5d 100644 --- a/drivers/pwm/pwm-jz4740.c +++ b/drivers/pwm/pwm-jz4740.c @@ -2,6 +2,10 @@ /* * Copyright (C) 2010, Lars-Peter Clausen <l...@metafoo.de> * JZ4740 platform PWM support + * + * Limitations: + * - The .apply callback doesn't complete the currently running period before + * reconfiguring the hardware. */ #include <linux/clk.h> -- 2.21.0.593.g511ec345e18