mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
bq2589x:add qc3p charger type
add qc3p charger type at bq2589x charger ic. it will not charger icon if not have charger type Change-Id: I950fd7e9fc9855f27174e58fce81a9e5c654f3c8 Signed-off-by: wutao <huaqin89@motorola.com> Reviewed-on: https://gerrit.mot.com/2154583 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-by: Wei Xu <xuwei9@lenovo.com> Reviewed-by: Yuecai Liu <liuyc20@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a16d6cfe74
commit
9b9c0d3edf
1 changed files with 1 additions and 0 deletions
|
|
@ -1982,6 +1982,7 @@ static int mmi_hvdcp_detect_kthread(void *param)
|
|||
break;
|
||||
case WT_CHG_TYPE_QC3P_27W:
|
||||
dev_err(bq->dev, "QC3P 27W have been detected !\n");
|
||||
charger_type = POWER_SUPPLY_TYPE_USB_HVDCP_3P5;
|
||||
qc3p_update_policy(bq);
|
||||
g_qc3p_detected = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue