media: platform: Redefinition of mtk_jpeg_q_data structure
authorXia Jiang <xia.jiang@mediatek.com>
Fri, 14 Aug 2020 07:11:53 +0000 (09:11 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 28 Aug 2020 13:33:49 +0000 (15:33 +0200)
commit84bb4d04eb7ba6825708455df6bb8a71d4fe3411
treeeb10b7b41186dfbafbd23327980cba9bb8d092fa
parentac5a59c8bdf2b3b7bf799c6b0926e32b6796bf1c
media: platform: Redefinition of mtk_jpeg_q_data structure

The standard v4l2_pix_format_mplane structure contains width/height/
sizeimage/bytesperline, so use v4l2_pix_format_mplane to replace them.

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
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h