[media] omap3isp: queue: Fix the dma_map_sg() return value check
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 9 Mar 2014 20:58:37 +0000 (17:58 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 14:16:18 +0000 (11:16 -0300)
commitb8d642826d031c8700ff1ad601fedf1ebe351033
tree74c53c152e44ea939412f03027120cb2165f5912
parent7f5036d059fbd263b5322a4298a9935698e7625d
[media] omap3isp: queue: Fix the dma_map_sg() return value check

dma_map_sg() can merge sglist entries, and can thus return a number of
mapped entries different than the original value. Don't consider this as
an error.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispqueue.c