commit | bc834d7b07b4e57c89607c929dcb5eabb17b47a7 | [log] [tgz] |
---|---|---|
author | David Wu <david.wu@rock-chips.com> | Tue Aug 08 23:38:32 2017 +0800 |
committer | Thierry Reding <thierry.reding@gmail.com> | Fri Aug 18 17:40:05 2017 +0200 |
tree | 8aca756437683da614fcf9f410da7825f080858a | |
parent | ed054693d77f9c98da18f7c3ff19dfa41692520f [diff] |
pwm: rockchip: Move the configuration of polarity It is usually possible to configure the polarity, cycle and duty all at once, so that the polarity and cycle and duty are applied atomically. Move it from rockchip_pwm_set_enable() into rockchip_pwm_config(), as well as prepare for the next atomic update commit. Signed-off-by: David Wu <david.wu@rock-chips.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>