msm: camera: crm: Fix the size to copy from user in IOCTL
In IOCTL, copy_from_user needs to be for a size interpreted by
the driver, instead of the value passed in IOCTL. This way,
when executing the IOCTL, the param data has valid memory region.
Change-Id: I17a1e6c6683ba3340e535ed21c3158fdbffbcfe3
Signed-off-by:
Harsh Shah <harshs@codeaurora.org>
Loading
Please register or sign in to comment