diff options
author | Sylwester Nawrocki | 2012-04-22 22:07:09 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-05-08 14:11:32 +0200 |
commit | 63746be543db923a8337e26c4723e65c38a99dc7 (patch) | |
tree | f9f38c304d03b5c2ec5027d60a27eb87b88d7483 /drivers/regulator | |
parent | [media] s5p-fimc: Fix locking in subdev set_crop op (diff) | |
download | kernel-qcow2-linux-63746be543db923a8337e26c4723e65c38a99dc7.tar.gz kernel-qcow2-linux-63746be543db923a8337e26c4723e65c38a99dc7.tar.xz kernel-qcow2-linux-63746be543db923a8337e26c4723e65c38a99dc7.zip |
[media] s5p-fimc: Correct memory allocation for VIDIOC_CREATE_BUFS
The commit 3b4c34aac7abea4754059084d0eef667a1993ac8
"s5p-fimc: Add support for VIDIOC_PREPARE_BUF/CREATE_BUFS ioctls"
added a handler for VIDIOC_CREATE_BUFS ioctl, but the queue_setup
callback wasn't updated to properly interpret the pixel format.
In this situation memory corruption may happen with VIDIOC_CREATE_BUFS
ioctl. Update the queue_setup op to fix this.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions