deinterlace: add api for free mirror mem [1/1]
authorJihong Sui <jihong.sui@amlogic.com>
Wed, 12 Jun 2019 12:17:00 +0000 (20:17 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 21 Jun 2019 08:14:18 +0000 (01:14 -0700)
commitc7c8254895dc559caf25fd33245844118381244b
treef3b00e108827ce238e429ac0adfca388088bf864
parent1b4f32d314c5349f324fcb01cf1949c9b2c5d92b
deinterlace: add api for free mirror mem [1/1]

PD#SWPL-9678

Problem:
di keep buf for mirror function till next reg

Solution:
1.add api(di_trig_free_mirror_mem) for free mirror mem
after unreg;
2. debug cmd:
echo free_mirror > /sys/class/deinterlace/di0/debug;

Verify:
G12A

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