Loading drivers/power/qcom-charger/smb1351-charger.c +7 −1 Original line number Diff line number Diff line /* Copyright (c) 2015 The Linux Foundation. All rights reserved. /* Copyright (c) 2016 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 @@ -1872,6 +1872,12 @@ static void smb1351_chg_adc_notification(enum qpnp_tm_state state, void *ctx) } } if (!cur) { pr_debug("Couldn't choose batt state, adc state=%d and temp=%d\n", state, temp); return; } if (cur->batt_present) chip->battery_missing = false; else Loading Loading
drivers/power/qcom-charger/smb1351-charger.c +7 −1 Original line number Diff line number Diff line /* Copyright (c) 2015 The Linux Foundation. All rights reserved. /* Copyright (c) 2016 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 @@ -1872,6 +1872,12 @@ static void smb1351_chg_adc_notification(enum qpnp_tm_state state, void *ctx) } } if (!cur) { pr_debug("Couldn't choose batt state, adc state=%d and temp=%d\n", state, temp); return; } if (cur->batt_present) chip->battery_missing = false; else Loading