| commit | fe6e96e5ddc940e0521beb496ed2edeee3beb25b | [log] [tgz] |
|---|---|---|
| author | Siarhei Vishniakou <svv@google.com> | Mon Mar 18 14:12:56 2019 -0700 |
| committer | Siarhei Vishniakou <svv@google.com> | Mon Mar 18 17:58:59 2019 -0700 |
| tree | 229ea896462274d67b6dafcdf490b20c04dfefc4 | |
| parent | 6b243887f3dec6eaba1101a106a8a4903dda9d37 [diff] |
Specify the index for ENUMINPUT If the index is not initialized, then whatever is currently occupying that stack address will be used for index value. But only index = 0 is valid. Also, initialize to zero some of the reserved fields, as required by the docs. Test: dumpsys input (and ensure that video device is associated with the touch input device) Test: review v4l docs for all ioctl's used Fixes: 128854899 Change-Id: I7e1c4cf4598428251ae5ce2ea379cdaceb0134c3