Loading drivers/power/qpnp-smbcharger.c +2 −2 Original line number Diff line number Diff line Loading @@ -1574,8 +1574,8 @@ static int smbchg_set_usb_current_max(struct smbchg_chip *chip, } pr_smb(PR_STATUS, "USB current_ma = %d\n", current_ma); if (current_ma == SUSPEND_CURRENT_MA) { /* suspend the usb if current set to 2mA */ if (current_ma <= SUSPEND_CURRENT_MA) { /* suspend the usb if current <= 2mA */ rc = smbchg_primary_usb_en(chip, false, REASON_USB, &changed); chip->usb_max_current_ma = 0; goto out; Loading Loading
drivers/power/qpnp-smbcharger.c +2 −2 Original line number Diff line number Diff line Loading @@ -1574,8 +1574,8 @@ static int smbchg_set_usb_current_max(struct smbchg_chip *chip, } pr_smb(PR_STATUS, "USB current_ma = %d\n", current_ma); if (current_ma == SUSPEND_CURRENT_MA) { /* suspend the usb if current set to 2mA */ if (current_ma <= SUSPEND_CURRENT_MA) { /* suspend the usb if current <= 2mA */ rc = smbchg_primary_usb_en(chip, false, REASON_USB, &changed); chip->usb_max_current_ma = 0; goto out; Loading