v4l: clear vb2 buffer flags for next use. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Wed, 19 Aug 2020 03:05:48 +0000 (11:05 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 25 Sep 2020 08:54:37 +0000 (01:54 -0700)
commit6a46e12bb2b6862dc994e531e8b42ecea0dbfc16
treef537e7f6a1752f9888a09a72d7153601e00a166b
parent33b1a4774c7b1aa44e261824b4c0ecb751cd0e43
v4l: clear vb2 buffer flags for next use. [1/1]

PD#SWPL-31953

Problem:
V4L2 Buffer flag is not cleared when streamoff.

Solution:
clear vb2 buffer flags for next use when cmd streamoff.

Verify:
w400

Change-Id: Ib4bc1fb3c9f8ed21ce740af9ddffd984fd9e5da9
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/amvdec_ports/aml_vcodec_dec.c