Commit Graph
4 Commits
Author SHA1 Message Date
Michael Jones 61e6561fae [media] omap3isp: queue: fail QBUF if user buffer is too small
Add buffer length check to sanity checks for USERPTR QBUF.

Signed-off-by: Michael Jones <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-09-11 09:49:27 -03:00
Laurent Pinchart 2578dfb7f7 [media] omap3isp: queue: Don't corrupt buf->npages when get_user_pages() fails
get_user_pages() can return a negative error code when it fails. Set
buf->npages to 0 in that case, to prevent isp_video_buffer_cleanup()
from releasing invalid pages.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-04-19 11:29:56 -03:00
Michael Jones 2d4e9d1db2 [media] omap3isp: Fix trivial typos
It doesn't get more trivial than these.

Signed-off-by: Michael Jones <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-04-17 07:42:57 -03:00
Laurent Pinchart ad614acb7e [media] omap3isp: Video devices and buffers queue
The OMAP3 ISP video devices and buffers queue modules implement the V4L2
API on all the ISP video nodes.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: David Cohen <[email protected]>
Signed-off-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Vimarsh Zutshi <[email protected]>
Signed-off-by: Tuukka Toivonen <[email protected]>
Signed-off-by: Sergio Aguirre <[email protected]>
Signed-off-by: Antti Koskipaa <[email protected]>
Signed-off-by: Ivan T. Ivanov <[email protected]>
Signed-off-by: RaniSuneela <[email protected]>
Signed-off-by: Atanas Filipov <[email protected]>
Signed-off-by: Gjorgji Rosikopulos <[email protected]>
Signed-off-by: Hiroshi DOYU <[email protected]>
Signed-off-by: Nayden Kanchev <[email protected]>
Signed-off-by: Phil Carmody <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: Dominic Curran <[email protected]>
Signed-off-by: Ilkka Myllyperkio <[email protected]>
Signed-off-by: Pallavi Kulkarni <[email protected]>
Signed-off-by: Vaibhav Hiremath <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-22 04:53:47 -03:00