]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2b3d381fe242603a9c57fec8bf6931d29ec49e5a
treeed1ea775ccb2353502dd78f76190160c07b8e9d5
parentdc2e7a9b95b261eb80fb28232d7d7b998ca4b7ec
[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