]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: meson: Don't disable PWM when setting duty repeatedly
authorBichao Zheng <bichao.zheng@amlogic.com>
Mon, 1 Apr 2019 18:18:17 +0000 (20:18 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 9 May 2019 14:50:35 +0000 (16:50 +0200)
commitbdace172b414e61cf16954c79ecff956abee659a
tree9a3a3eddd9ff55ff888aacdf2093f6d2950a8d75
parentb4d3aea305cd410d1e9e4f368c24a8d686782aa7
pwm: meson: Don't disable PWM when setting duty repeatedly

There is an abnormally low about 20ms,when setting duty repeatedly.
Because setting the duty will disable PWM and then enable. Delete
this operation now.

Fixes: c62af5afaf8b53 ("pwm: Add support for Meson PWM Controller")
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
[ Dropped code instead of hiding it behind a comment ]
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c