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

Skip to content
Commit 2b092da5 authored by Seemanta Dutta's avatar Seemanta Dutta
Browse files

msm: camera: Do not use struct v4l2_event for private ioctl



struct v4l2_event should not be used for communication via
private ioctl because v4l2_event type is meant only for communication
through the V4L2 framework. Using this outside the framework for
custom ioctls will result in improper handling when 32/64 conversion
are needed.

So change the private ioctl handler in msm.c to not use this struct.
Also update the ioctl codes to use msm_v4l2_event_data instead of
v4l2_event.

Change-Id: I556de94de8676e4c1eb217f25c77a22a62465ee5
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent 9e1a1c1e
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