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

Skip to content
Commit fe6e96e5 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

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
parent 6b243887
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