lkml.org 
[lkml]   [2015]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 2/5] drivers: pwm: bcm-kona: Dont set polarity in probe
On Tue, May 26, 2015 at 01:08:17PM -0700, Jonathan Richardson wrote:
> From: Arun Ramamurthy <arunrama@broadcom.com>
>
> 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@broadcom.com>
> Reviewed-by: Ray Jui <rjui@broadcom.com>
> Signed-off-by: Scott Branden <sbranden@broadcom.com>
> Signed-off-by: Tim Kryger <tim.kryger@gmail.com>
> Signed-off-by: Jonathan Richardson <jonathar@broadcom.com>
> ---
> 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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-06-12 12:21    [W:0.235 / U:1.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site