mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
20ae54a65d
commit
67189bd53e
1 changed files with 3 additions and 1 deletions
|
|
@ -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++;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue