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

Commit 12bc9875 authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Remove compat ioctl definition from vidc driver



.compat_ioctl32 is used to support custom ioctls for 64 bit kernel
and 32 bit userspace. Since vidc driver doesn't have any custom
controls, remove the definition.

When userspace calls some fuzzy ioctls, V4L2 framework calls
compat_ioctl32 to corresponding driver from v4l2_compat_ioctl32.
If vidc driver defines compat_ioctl32 to be v4l2_compat_ioctl32
then v4l2_compat_ioctl32 function gets calls infinitely.
Hence remove the definition so that V4L2 framework returns failure
to ioctl caller.

Change-Id: I8d0e7afb14c4fd16e877145c603283cb936b82e2
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent f108fc85
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