Skip to content

Commit

Permalink
huashan: multirom: Update the inputs inits
Browse files Browse the repository at this point in the history
 * Delete the hardcoded event numbers
 * Use only specific input path of each drivers' inputs

Change-Id: Icb0cf428494534e177c74957fea1aaafe891d69c
  • Loading branch information
AdrianDC committed Aug 4, 2016
1 parent ec36826 commit afcda77
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions multirom/mr_init_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ const char *mr_init_devices[] =
"/sys/devices/virtual/misc/fuse",

// Inputs
"/sys/devices/virtual/input*",
"/sys/devices/virtual/misc/uinput",
"/sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/cyttsp4_mt.main_ttsp_core/input/input*",
"/sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/cyttsp4_mt.main_ttsp_core/input*",
"/sys/devices/platform/gpio-keys.0/input*",
"/sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-keypad/input*",
"/sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-pwrkey/input*",
"/sys/devices/platform/gpio-keys.0/input/input*",
"/sys/class/input/event1",
"/sys/class/input/event7",
"/sys/class/input/event11",
"/sys/devices/virtual/input*",
"/sys/devices/virtual/misc/uinput",

// ADB
"/sys/class/tty/ptmx",
Expand Down

0 comments on commit afcda77

Please sign in to comment.