Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 989fa3e2 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: smb135x-charger: Add fast-charge configuration table for SMB1358



Update the fast-charge configuration for SMB1358 used to
index into the battery charge-current.

CRs-Fixed: 978046
Change-Id: I31ffc03d083c955ac1fdcf79ba5287a0107d3524
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 93d3dd41
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2227,8 +2227,9 @@ static int smb135x_set_current_tables(struct smb135x_chg *chip)
			= ARRAY_SIZE(usb_current_table_smb1357_smb1358);
		chip->dc_current_table = dc_current_table;
		chip->dc_current_arr_size = ARRAY_SIZE(dc_current_table);
		chip->fastchg_current_table = NULL;
		chip->fastchg_current_arr_size = 0;
		chip->fastchg_current_table = fastchg_current_table;
		chip->fastchg_current_arr_size
			= ARRAY_SIZE(fastchg_current_table);
		break;
	case V_SMB1359:
		chip->usb_current_table = usb_current_table_smb1359;