driver:Add C type Rp current setting
authorxuwei9 <xuwei9@lenovo.com>
Thu, 7 Mar 2019 13:08:54 +0000 (22:08 +0900)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:31:55 +0000 (17:31 +0800)
Add c type Rp current
setting

Signed-off-by: xuwei9 <xuwei9@mt.com>
Change-Id: I222c07f0fdd29f65c6a5311Defenderc33e3c5c30c4cf
Reviewed-on: https://gerrit.mot.com/1320518
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

drivers/power/supply/s2mu00x_battery.c

index aca8ea1ccf7374924d0b30111a9c447a006df40e..444de6ce797e886b314c2fe6b443a54a3efca26f 100644 (file)
@@ -4296,6 +4296,7 @@ static int s2mu00x_battery_probe(struct platform_device *pdev)
        battery->pdo_max_chg_power = battery->pdata->pdo_max_chg_power;
        battery->pd_input_current= 2000;
        battery->pd_attach = false;
+       battery->rp_attach = false;
 #endif
        battery->temp_high = battery->pdata->temp_high;
        battery->temp_high_recovery = battery->pdata->temp_high_recovery;