mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 20:04:01 +00:00
power: qpnp-smbcharger: fix workaround settings for PMi8994
Currently in the workaround select function, there is a missing break statement after the PMI8994 subtype case. This causes PMi8994 chargers to be configured with additional unnecessary workarounds for PMi8950. Fix this bug by adding the break statement after the PMI8994 subtype case. CRs-Fixed: 892014 Change-Id: I66c5e2b49d88d4cc57445e802edd4ee115f0ec33 Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
This commit is contained in:
parent
6e6162e4f7
commit
e492606e79
|
@ -7018,6 +7018,7 @@ static int smbchg_wa_config(struct smbchg_chip *chip)
|
|||
case PMI8994:
|
||||
chip->wa_flags |= SMBCHG_AICL_DEGLITCH_WA
|
||||
| SMBCHG_BATT_OV_WA;
|
||||
break;
|
||||
case PMI8950:
|
||||
chip->wa_flags |= SMBCHG_BATT_OV_WA;
|
||||
if (pmic_rev_id->rev4 < 2) /* PMI8950 1.0 */ {
|
||||
|
|
Loading…
Reference in a new issue