mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
sec_mmi: hack for input device name
Samsung LSI touch driver creates input device with name samsung_mmi.primary. Framework has primary touchscreen input name hard coded as synaptics_mmi.primary and thus won't accept touch events from new input. This is temporary hack to allow functional touch until CR (CR) gets resolved. MMI_STOPSHIP Change-Id: Ia69683d25f5216c642d86bd62e6bd29839f5b9c8 Signed-off-by: Konstantin Makariev <hcv867@motorola.com> Reviewed-on: https://gerrit.mot.com/1394708 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
48c03881f2
commit
1464201514
1 changed files with 2 additions and 2 deletions
|
|
@ -173,8 +173,8 @@ static int sec_mmi_touchscreen_class(
|
|||
dev_set_drvdata(data->ts_class_dev, data);
|
||||
|
||||
/* construct input device name */
|
||||
namelen = scnprintf(buffer, sizeof(buffer), "samsung_mmi.%s", class_fname);
|
||||
// FIXME namelen = scnprintf(buffer, sizeof(buffer), "synaptics_mmi.%s", class_fname);
|
||||
// FIXME namelen = scnprintf(buffer, sizeof(buffer), "samsung_mmi.%s", class_fname);
|
||||
namelen = scnprintf(buffer, sizeof(buffer), "synaptics_mmi.%s", class_fname);
|
||||
if (namelen) {
|
||||
input_dev_name = kstrdup(buffer, GFP_KERNEL);
|
||||
ts->input_dev->name = input_dev_name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue