bangkk:en62680 PD TEST.PD.PROT.PORT3.02

Changes,
Fixe the PD test case TEST.PD.PROT.PORT3.02.

Change-Id: I881b1890f6ad618467c1775e7d93efa93d482ed3
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/3137769
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Lei Chen 2024-11-07 14:10:26 +08:00 • committed by Michael Bestas
commit 6a5f80b78d
No known key found for this signature in database

View file

@ -1991,7 +1991,7 @@ static void handle_get_battery_status(struct usbpd *pd, struct rx_msg *rx_msg)
return;
}
bat_num = rx_msg->payload[2];
bat_num = rx_msg->payload[0];
if (bat_num) {
usbpd_warn(&pd->dev, "Battery %d unsupported\n", bat_num);