power: smb349: set PGOOD to active low at OTG
authorChandler Zhang <chazhang@nvidia.com>
Fri, 9 Mar 2012 07:48:42 +0000 (15:48 +0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 15 Mar 2012 15:43:18 +0000 (08:43 -0700)
commitd748841ab04d0cb829e426cd0301cd4de48a3983
tree5fdb3fb809899d3f64d475ee932b671e69897891
parent570a5790a9ce288c093ea9ae838cf8e7e8aa8fe6
power: smb349: set PGOOD to active low at OTG

1. Turn PGOOD to active low when OTG is enabled
2. Free irq in error handling and smb349_remove

Bug 937188

Change-Id: I94a58c8dfd9066034335ec4507b80d1607fe029f
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89028
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/power/smb349-charger.c