Loading drivers/power/qpnp-charger.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -2030,7 +2030,7 @@ get_prop_batt_status(struct qpnp_chg_chip *chip) return POWER_SUPPLY_CHARGE_TYPE_NONE; } if (chgr_sts & TRKL_CHG_ON_IRQ && bat_if_sts & BAT_FET_ON_IRQ) if ((chgr_sts & TRKL_CHG_ON_IRQ) && !(bat_if_sts & BAT_FET_ON_IRQ)) return POWER_SUPPLY_STATUS_CHARGING; if (chgr_sts & FAST_CHG_ON_IRQ && bat_if_sts & BAT_FET_ON_IRQ) return POWER_SUPPLY_STATUS_CHARGING; Loading Loading
drivers/power/qpnp-charger.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -2030,7 +2030,7 @@ get_prop_batt_status(struct qpnp_chg_chip *chip) return POWER_SUPPLY_CHARGE_TYPE_NONE; } if (chgr_sts & TRKL_CHG_ON_IRQ && bat_if_sts & BAT_FET_ON_IRQ) if ((chgr_sts & TRKL_CHG_ON_IRQ) && !(bat_if_sts & BAT_FET_ON_IRQ)) return POWER_SUPPLY_STATUS_CHARGING; if (chgr_sts & FAST_CHG_ON_IRQ && bat_if_sts & BAT_FET_ON_IRQ) return POWER_SUPPLY_STATUS_CHARGING; Loading