gdc: unmap gdc dma_buf after gdc process stop [2/2]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Sat, 2 Feb 2019 07:42:04 +0000 (15:42 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 18 Feb 2019 10:45:59 +0000 (02:45 -0800)
commit2d398c6e5c3560c3dd172b724099ea7055af0136
treedcb2f51a897ac8c93bb6f6320478bea11919cbe2
parent663d513ff4170c4d68a4f8bb9889ef94deb0ff66
gdc: unmap gdc dma_buf after gdc process stop [2/2]

PD#SWPL-4839

Problem:
have risk of unmap gdc dma_buf

Solution:
unmap gdc dma_buf after gdc process stop

Verify:
verify by w400

Change-Id: If86ac881fd85a5c4b3583567c9748e87149c1d78
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/gdc/app/gdc_dmabuf.c
drivers/amlogic/media/gdc/app/gdc_module.c
drivers/amlogic/media/gdc/inc/gdc/gdc_config.h