Skip to content

Commit

Permalink
input: touch: parade: remove suspend/resume scan (#290)
Browse files Browse the repository at this point in the history
Parade states that scanning failures prevent the touch controller from self-calibrating during bootup.
Therefore, Parade advice to remove pt_pip_suspend_() and pt_pip_resume_scanning_() in pt_core.c to avoid scanning failures
  • Loading branch information
cbemlogic authored Sep 28, 2022
1 parent 613ceb3 commit b1f595f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/input/touchscreen/pt_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -16928,8 +16928,6 @@ int pt_probe(const struct pt_bus_ops *ops, struct device *dev,
goto error_after_startup;
}

/* Suspend scanning until probe is complete to avoid asyc touches */
pt_pip_suspend_scanning_(cd);

if (cd->hw_detected) {
pt_debug(dev, DL_INFO, "%s: Add sysfs interfaces\n",
Expand Down Expand Up @@ -16978,7 +16976,6 @@ int pt_probe(const struct pt_bus_ops *ops, struct device *dev,
cd->pm_notifier.notifier_call = pt_pm_notifier;
register_pm_notifier(&cd->pm_notifier);
#endif
pt_pip_resume_scanning_(cd);

mutex_lock(&cd->system_lock);
cd->startup_status |= status;
Expand Down

0 comments on commit b1f595f

Please sign in to comment.