lkml.org 
[lkml]   [2013]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] tps65090-charger: Fix AC detect
On 6/6/2013 5:12 PM, Andrew Chew wrote:
> The VACG interrupt was not being enabled. Thus, interrupts were never
> generated when AC status changes. In addition, interrupts were never
> cleared after taking and processing the interrupt.
>
> Added the register offset for the INTR_MASK register, since this is needed
> to unmask the VACG interrupt.
>
> Enabled the VACG interrupt in tps65090_config_charger().
>
> Cleared interrupts after processing, in tps65090_charger_isr().
>
> Also removed unused variable "enable" in tps65090_enable_charging(),
> and fixed a typo in one of the dev_err() prints.
>
> Signed-off-by: Andrew Chew <achew@nvidia.com>
> ---

Great! Tested and it works great on my Dalmore.

Tested-by: Rhyland Klein <rklein@nvidia.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>

-rhyland

--
nvpublic


\
 
 \ /
  Last update: 2013-06-07 18:21    [W:2.144 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site