mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
dlkm: bo: Improve novatek 0flash driver
- Since now nova_check_dt only possible return 0 or -ENODEV, so if the driver can't get the active_panel_name properly, that means no display panels are initialized, so need to return -ENODEV on probe in this case, otherwise, it may affect the initialization of other touch ICs. NO_PROP_NEEDED: needn't for shm2018 Change-Id: I6148ac8b10f552f180696221b1517c5fb60915e0 Signed-off-by: wengjun1 <wengjun1@motorola.com> Reviewed-on: https://gerrit.mot.com/1812635 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqiu Huang <huangjq9@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
53d87d2508
commit
75c2e82f9c
1 changed files with 1 additions and 1 deletions
|
|
@ -2145,7 +2145,7 @@ static int32_t nvt_ts_probe(struct spi_device *client)
|
|||
struct device_node *dp = client->dev.of_node;
|
||||
|
||||
ret = nova_check_dt(dp);
|
||||
if (ret == -EPROBE_DEFER) {
|
||||
if (ret) {
|
||||
NVT_LOG("panel error\n");
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue