diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-03-02 11:21:47 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-04-15 09:52:06 +0200 |
commit | 500174a2d558c4d21fed35291e4dc6fc70ca178e (patch) | |
tree | 24c653ad56f231bea99c52181c08e011b0a99732 /drivers/media/common | |
parent | media: staging: media: av7110: replace BUG_ON by WARN_ON (diff) | |
download | linux-500174a2d558c4d21fed35291e4dc6fc70ca178e.tar.xz linux-500174a2d558c4d21fed35291e4dc6fc70ca178e.zip |
media: common: saa7146: fix broken V4L2_PIX_FMT_YUV422P support
The U and V components were swapped. Drop the FORMAT_BYTE_SWAP
to fix this.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/saa7146/saa7146_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146/saa7146_video.c b/drivers/media/common/saa7146/saa7146_video.c index dd0d803c38cd..bc4e8d12873b 100644 --- a/drivers/media/common/saa7146/saa7146_video.c +++ b/drivers/media/common/saa7146/saa7146_video.c @@ -51,7 +51,7 @@ static struct saa7146_format formats[] = { .pixelformat = V4L2_PIX_FMT_YUV422P, .trans = YUV422_DECOMPOSED, .depth = 16, - .flags = FORMAT_BYTE_SWAP|FORMAT_IS_PLANAR, + .flags = FORMAT_IS_PLANAR, }, { .pixelformat = V4L2_PIX_FMT_YVU420, .trans = YUV420_DECOMPOSED, |