[media] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table
authorRicardo Ribalda <ricardo.ribalda@gmail.com>
Fri, 2 Aug 2013 13:20:00 +0000 (10:20 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 26 Sep 2013 10:33:59 +0000 (07:33 -0300)
commit223012475968fb8dac866bff5b278e9311a36894
treeed1ea775ccb2353502dd78f76190160c07b8e9d5
parentdf23728118cd0f53070769e2ac26a255f66daa57
[media] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

Replace the private struct vb2_dma_sg_desc with the struct sg_table so
we can benefit from all the helping functions in lib/scatterlist.c for
things like allocating the sg or compacting the descriptor.
marvel-ccic and solo6x10 drivers, that use this API have been updated.

Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
[s.nawrocki@samsung.com: minor corrections of the changelog]
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/v4l2-core/videobuf2-dma-sg.c
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
include/media/videobuf2-dma-sg.h