Show Panel supplier

TP:
Solve the problem that read the panel_supplier 
node is empty.

Change-Id: I23d0b0d0dc4936259c09f30f585759556658e2b8
Reviewed-on: https://gerrit.mot.com/1470240
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
litong 2019-12-11 19:24:36 +08:00 • committed by litong20
commit 67189bd53e

View file

@ -89,8 +89,10 @@ int ts_mmi_parse_dt(struct ts_mmi_dev *touch_cdev,
}
dev_info(DEV_TS, "%s: mmi,panel_name %s\n", __func__, supplier);
s = (char *)supplier;
/* skip dsi_ part */
s = (char *)supplier + 4;
if (!strncmp(supplier, "dsi_", 4))
s += 4;
d = touch_cdev->panel_supplier;
while (*s != '_') *d++ = *s++;