]> git.baikalelectronics.ru Git - kernel.git/commit
media: platform: Change the colorspace of jpeg to the fixed value
authorXia Jiang <xia.jiang@mediatek.com>
Fri, 14 Aug 2020 07:11:54 +0000 (09:11 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 28 Aug 2020 13:34:10 +0000 (15:34 +0200)
commitf568bd6daddb7fe692d7127ec7f3e227540722de
treebfe6eb81aa39b874babaee9a67fedf4cb7faf503
parentc78a9e8b8f63ea18f8d90f6dd2d356865a046537
media: platform: Change the colorspace of jpeg to the fixed value

Jpeg doesn't support colorspace conversion, so it shouldn't accept any
other colorspace in S_FMT.
Change the colorspace of jpeg to the fixed value.

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