]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: Move firmware allocation point to avoid allocation problems
authorKamil Debski <k.debski@samsung.com>
Thu, 3 Jan 2013 14:02:07 +0000 (11:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:57:57 +0000 (09:57 -0200)
commitd5bb6c3843ffd5d0e4b351d2d69778dac610d143
tree180458e6f6960f5980738ee5d0817bdae0c44d58
parent3a57d6e52c5c042a7e3d7dd3c85e0ac7d708d311
[media] s5p-mfc: Move firmware allocation point to avoid allocation problems

Move firmware allocation from open to probe to avoid problems
when using CMA for allocation. In certain circumstances CMA may allocate
buffer that is not in the beginning of the MFC memory area.

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.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h