diff options
author | Tim Kryger <tim.kryger@gmail.com> | 2015-05-26 22:08:16 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-06-12 11:36:30 +0200 |
commit | b6a00fae9760a49114016e4764d09e522a5ba5b6 (patch) | |
tree | 88bb0e1cc5c1ca9c4eb66d8c7a2a3c54bf958387 /drivers/pwm/pwm-twl.c | |
parent | pwm: atmel: Fix incorrect CDTY value after disabling (diff) | |
download | linux-b6a00fae9760a49114016e4764d09e522a5ba5b6.tar.xz linux-b6a00fae9760a49114016e4764d09e522a5ba5b6.zip |
pwm: Add pwmchip_add_with_polarity() API
Add a new function to register a PWM chip with channels that have their
initial polarity as specified by an additional parameter. This benefits
drivers of controllers that by default operate with inversed polarity
by removing the need to modify the polarity during initialization.
Signed-off-by: Tim Kryger <tim.kryger@gmail.com>
Signed-off-by: Jonathan Richardson <jonathar@broadcom.com>
[thierry.reding@gmail.com: export pwmchip_add_with_polarity()]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions