summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/go7007
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2019-12-06 20:51:32 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2019-12-13 09:29:52 +0100
commitc7669435119f7b548bde3d4d093888a6c537e4e0 (patch)
treef978c2d7e0b03ef44229780581a42033c4e9c7a1 /drivers/media/usb/go7007
parentmedia: cec-ioc-g-mode.rst: remove trailing 'i' (diff)
downloadlinux-c7669435119f7b548bde3d4d093888a6c537e4e0.tar.xz
linux-c7669435119f7b548bde3d4d093888a6c537e4e0.zip
media: ti-vpe: csc: fix single vs multiplanar format handling
In csc_set_coeff() we were previously checking if the format type was V4L2_BUF_TYPE_VIDEO_OUTPUT or V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE as a mean to figure out if the format was multiplanar or not. This was not entirely accurate as the format type could also be a CAPTURE type instead. Fix this by removing the 'switch' construct and replacing them with "if (V4L2_TYPE_IS_MULTIPLANAR(type))" instead. Signed-off-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/usb/go7007')
0 files changed, 0 insertions, 0 deletions