]> 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)
commit9c7b903c5a6138961b96a1d611347c89fd3ed82f
tree180458e6f6960f5980738ee5d0817bdae0c44d58
parent38fcaea653db80dbfc5c308bb924765e178436c5
[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