deinterlace: increasing protection for unreg [1/2]
authorJihong Sui <jihong.sui@amlogic.com>
Mon, 15 Jul 2019 05:50:45 +0000 (13:50 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 18 Jul 2019 03:38:34 +0000 (20:38 -0700)
commit9148ddea1823cedd4c38d56476645907f7918f3f
tree010e681bd0a4f7446b4b24009e888f68ea2747d9
parente4d93f2ab570101bd6f7aa99782f6d0386c9a3a7
deinterlace: increasing protection for unreg [1/2]

PD#SWPL-10149

Problem:
random crash when stress test

Solution:
1. delete recycle keep buff when bypass;
2. adjusting judgment timing about pre_de_buf_config;

Verify:
TL1

Change-Id: I7b0716ce35234d2342cdc13fcf0d51211f579d13
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c