summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorTim Kryger <tim.kryger@gmail.com>2015-05-26 22:08:16 +0200
committerThierry Reding <thierry.reding@gmail.com>2015-06-12 11:36:30 +0200
commitb6a00fae9760a49114016e4764d09e522a5ba5b6 (patch)
tree88bb0e1cc5c1ca9c4eb66d8c7a2a3c54bf958387 /drivers/media
parentpwm: atmel: Fix incorrect CDTY value after disabling (diff)
downloadlinux-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/media')
0 files changed, 0 insertions, 0 deletions