Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 560ff5ef authored by Mao Li's avatar Mao Li Committed by Sudhakar Manapati
Browse files

input: msg21xx_ts: Mstar touch driver optimization



Mstar driver uses the ic-type DT property for dynamic detection
support. Driver reads a register from the controller and compares
both the values to check if connected touch controller is of
Mstar or not.
Remove all DBG messages and convert them to dev_dbg/info.
Add a debugfs entry for suspend/resume.
Remove ts_data/pdata global declaration and use dev_get_drvdata()
and input_set_drvdata()/dev_set_drvdata() instead.

  This patch is propagated from 3.10 kernel
    commit: adbc104e3cb863a06a710f2e889750d80b63ab78

Change-Id: Ia053745d48faf68b946fbb0cf16d392cbfdd2a3c
Signed-off-by: default avatarMao Li <maol@codeaurora.org>
Signed-off-by: default avatarSudhakar Manapati <smanap@codeaurora.org>
parent b090c340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment