Re: [PATCH v8 2/5] drivers: pwm: bcm-kona: Dont set polarity in probe

From: Thierry Reding
Date: Fri Jun 12 2015 - 05:47:19 EST


On Tue, May 26, 2015 at 01:08:17PM -0700, Jonathan Richardson wrote:
> From: Arun Ramamurthy <arunrama@xxxxxxxxxxxx>
>
> Omit setting the polarity to normal during probe and instead use the
> new pwmchip_add_inversed function to register a PWM chip with default
> polarity of inversed for all channels as this is the actual hardware
> default.
>
> Signed-off-by: Arun Ramamurthy <arunrama@xxxxxxxxxxxx>
> Reviewed-by: Ray Jui <rjui@xxxxxxxxxxxx>
> Signed-off-by: Scott Branden <sbranden@xxxxxxxxxxxx>
> Signed-off-by: Tim Kryger <tim.kryger@xxxxxxxxx>
> Signed-off-by: Jonathan Richardson <jonathar@xxxxxxxxxxxx>
> ---
> drivers/pwm/pwm-bcm-kona.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)

Applied, after adapting to the pwmchip_add_with_polarity() API, thanks.

Thierry

Attachment: pgpFdpcI9HiTV.pgp
Description: PGP signature