Commit 1f5041b
input_common.h: Add retry loop for event device
Android has a delay between the entry in /proc/bus/input/devices and the
path /dev/input/eventN becoming accessible. Add a retry loop to account
for this.
Signed-off-by: Edward Liaw <edliaw@google.com>
Reviewed-by: Li Wang <liwang@redhat.com>1 parent e7cafd7 commit 1f5041b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments