summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-mailbox.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2012-04-22 17:07:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-08 09:11:32 -0300
commit63746be543db923a8337e26c4723e65c38a99dc7 (patch)
treef9f38c304d03b5c2ec5027d60a27eb87b88d7483 /drivers/media/video/cx18/cx18-mailbox.c
parente985dbf7d93e2a3e114b4525413e50f83613e0cb (diff)
downloadblackbird-op-linux-63746be543db923a8337e26c4723e65c38a99dc7.tar.gz
blackbird-op-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/media/video/cx18/cx18-mailbox.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud