[media] s5p-mfc: Change internal buffer allocation from vb2 ops to dma_alloc_coherent
authorKamil Debski <k.debski@samsung.com>
Thu, 3 Jan 2013 10:06:04 +0000 (07:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:59:02 +0000 (09:59 -0200)
commit317b4ca4982ea2429b75d0acd10445ec9475aa86
tree21152b36243347cd1d73998fd738f3a77152583e
parentef89fff874758c0f08501bdc2932b7e77421cfc6
[media] s5p-mfc: Change internal buffer allocation from vb2 ops to dma_alloc_coherent

Change internal buffer allocation from vb2 memory ops call to direct
calls of dma_alloc_coherent. This change shortens the code and makes it
much more readable.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr.h
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c