vdin: The picture received by the screenshot is the previous frame [1/1]
authorzhiwei.yuan <zhiwei.yuan@amlogic.com>
Wed, 16 Oct 2019 07:16:11 +0000 (15:16 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 17 Oct 2019 06:16:57 +0000 (23:16 -0700)
commit347f18c67ab95592a7d251c17d6e32e606c79ed4
tree724c2b5f381320fb1d4c612fae4b3959042e841d
parentf60d8f79366c42b3ed9a07427e2d9631b90c3c8e
vdin: The picture received by the screenshot is the previous frame [1/1]

PD#SWPL-15282

Problem:
buf is not updated because of absent receiver

Solution:
force buf recycle after screen cap stopped

Verify:
verified by t962x3_ab301

Change-Id: Idc5c354a6d744b11a892ffb3f015a5928706d438
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
drivers/amlogic/media/vin/tvin/vdin/vdin_drv.c