From: xuwei9 Date: Thu, 7 Mar 2019 13:08:54 +0000 (+0900) Subject: driver:Add C type Rp current setting X-Git-Tag: MMI-QSAS30.62-33-3~187 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4e03f932e368d0b3c2b67ced066f2749c05f3fc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git driver:Add C type Rp current setting Add c type Rp current setting Signed-off-by: xuwei9 Change-Id: I222c07f0fdd29f65c6a5311defc33e3c5c30c4cf Reviewed-on: https://gerrit.mot.com/1320518 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Wei Xu Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/drivers/power/supply/s2mu00x_battery.c b/drivers/power/supply/s2mu00x_battery.c index aca8ea1ccf73..444de6ce797e 100644 --- a/drivers/power/supply/s2mu00x_battery.c +++ b/drivers/power/supply/s2mu00x_battery.c @@ -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;