media: v4l2-common: change the pixel_enc of V4L2_PIX_FMT_GREY to YUV
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Mon, 23 Mar 2020 17:36:18 +0000 (18:36 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 09:33:01 +0000 (11:33 +0200)
commit7ca02435ff25fd384dc7e02da7ea01fe2799ffce
treef9801eab1b3a084e25d4b1760b3b9aa7c53eefb3
parent479ce8f5b1fb56fffa29ba737fd70ce5f574a365
media: v4l2-common: change the pixel_enc of V4L2_PIX_FMT_GREY to YUV

V4L2_PIX_FMT_GREY format is Ycbcr format without
the color data, therefore its pixel_enc should
set to V4L2_PIXEL_ENC_YUV.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-common.c