aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/v4l2-fh.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2012-04-22 16:07:09 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-08 08:11:32 -0400
commit63746be543db923a8337e26c4723e65c38a99dc7 (patch)
treef9f38c304d03b5c2ec5027d60a27eb87b88d7483 /drivers/media/video/v4l2-fh.c
parente985dbf7d93e2a3e114b4525413e50f83613e0cb (diff)
[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/media/video/v4l2-fh.c')
0 files changed, 0 insertions, 0 deletions