media: platform: Cancel the last frame handling flow
authorXia Jiang <xia.jiang@mediatek.com>
Fri, 14 Aug 2020 07:11:43 +0000 (09:11 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 28 Aug 2020 13:22:05 +0000 (15:22 +0200)
commit63ca740d5178da1b28235c7f657ef154781dcafe
tree78d3c34a25d5c53fbafd4a6ddd6011d110e8eb39
parent0058ff2befe37368f27cc9d7e21f752117722b7c
media: platform: Cancel the last frame handling flow

There is no need to queue an empty buffer for signaling a last frame,
because all frames are separate from each other in JPEG.

Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Xia Jiang <xia.jiang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c