Re: [PATCH 1/1] tps65090-charger: Fix AC detect

2013-06-09 Thread Anton Vorontsov
On Fri, Jun 07, 2013 at 12:07:39PM -0400, Rhyland Klein wrote: > 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 i

Re: [PATCH 1/1] tps65090-charger: Fix AC detect

2013-06-07 Thread Rhyland Klein
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, si

[PATCH 1/1] tps65090-charger: Fix AC detect

2013-06-06 Thread Andrew Chew
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.