Commit 393b66ce authored by Stefan Bader's avatar Stefan Bader Committed by Kleber Sacilotto de Souza

Revert "UBUNTU: SAUCE: media: uvcvideo: Support realtek's UVC 1.5 device"

This reverts commit b1b1d467 to be
replaced by the upstream stable variant.

BugLink: https://bugs.launchpad.net/bugs/1798770Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent e53ba0f5
...@@ -171,8 +171,6 @@ static int uvc_get_video_ctrl(struct uvc_streaming *stream, ...@@ -171,8 +171,6 @@ static int uvc_get_video_ctrl(struct uvc_streaming *stream,
int ret; int ret;
size = stream->dev->uvc_version >= 0x0110 ? 34 : 26; size = stream->dev->uvc_version >= 0x0110 ? 34 : 26;
if (stream->dev->uvc_version >= 0x0150)
size = 48;
if ((stream->dev->quirks & UVC_QUIRK_PROBE_DEF) && if ((stream->dev->quirks & UVC_QUIRK_PROBE_DEF) &&
query == UVC_GET_DEF) query == UVC_GET_DEF)
return -EIO; return -EIO;
...@@ -261,8 +259,6 @@ static int uvc_set_video_ctrl(struct uvc_streaming *stream, ...@@ -261,8 +259,6 @@ static int uvc_set_video_ctrl(struct uvc_streaming *stream,
int ret; int ret;
size = stream->dev->uvc_version >= 0x0110 ? 34 : 26; size = stream->dev->uvc_version >= 0x0110 ? 34 : 26;
if (stream->dev->uvc_version >= 0x0150)
size = 48;
data = kzalloc(size, GFP_KERNEL); data = kzalloc(size, GFP_KERNEL);
if (data == NULL) if (data == NULL)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment