deinterlace: fix suspend di cause undefined instruction [1/1]
authorJihong Sui <jihong.sui@amlogic.com>
Fri, 20 Sep 2019 08:03:44 +0000 (16:03 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 23 Sep 2019 06:18:49 +0000 (23:18 -0700)
commita0bbd9d53c5e0980ba1b3abf6ab7ddfc7f0b196e
tree149ac2a8f9e7b2c3fe59385aa41dc0d5eeca2433
parenta7884835b7059bedf6b5075ea63cec4fa81572b7
deinterlace: fix suspend di cause undefined instruction [1/1]

PD#SWPL-14418

Problem:
DI issue causes platform crash to restart
when do DTV 2s channel switch+15s suspend

Solution:
use active_flg to protect tasklet_schedule

Verify:
tl1

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