aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/pwc/pwc-if.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-03-13 10:48:15 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-11 11:28:32 -0400
commitd421ba0c165f711a80f0ec29af4b2cff17f3a1c3 (patch)
treea7b680d03045b7a7368d0f582e02bd8a902259bd /drivers/media/usb/pwc/pwc-if.c
parentmedia: vicodec: move v4l2_ctrl_request_complete after spin_unlock (diff)
downloadlinux-dev-d421ba0c165f711a80f0ec29af4b2cff17f3a1c3.tar.xz
linux-dev-d421ba0c165f711a80f0ec29af4b2cff17f3a1c3.zip
media: vicodec: always return a valid format.
Rather than returning width/height values of 0, just default to a format. Formats in V4L2 are always supposed to be valid, there is no concept of an invalid format. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
0 files changed, 0 insertions, 0 deletions