From: Oliver Neukum <oneukum@suse.com>
To: linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl,
dan.carpenter@oracle.com, mchehab@kernel.org
Cc: Oliver Neukum <oneukum@suse.com>
Subject: [PATCH] au0828: allow higher speeds
Date: Tue, 17 May 2022 14:54:47 +0200 [thread overview]
Message-ID: <20220517125447.19535-1-oneukum@suse.com> (raw)
This should be taken as a minimum speed.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
drivers/media/usb/au0828/au0828-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c
index caefac07af92..963ed0630121 100644
--- a/drivers/media/usb/au0828/au0828-core.c
+++ b/drivers/media/usb/au0828/au0828-core.c
@@ -669,7 +669,7 @@ static int au0828_usb_probe(struct usb_interface *interface,
* video stream wouldn't likely work, since 12 Mbps is generally
* not enough even for most Digital TV streams.
*/
- if (usbdev->speed != USB_SPEED_HIGH && disable_usb_speed_check == 0) {
+ if (usbdev->speed < USB_SPEED_HIGH && disable_usb_speed_check == 0) {
pr_err("au0828: Device initialization failed.\n");
pr_err("au0828: Device must be connected to a high-speed USB 2.0 port.\n");
return -ENODEV;
--
2.35.3
next reply other threads:[~2022-05-17 12:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-17 12:54 Oliver Neukum [this message]
2022-05-17 13:03 ` [PATCH] au0828: allow higher speeds Dan Carpenter
2022-05-17 13:15 ` Oliver Neukum
2022-05-17 13:19 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220517125447.19535-1-oneukum@suse.com \
--to=oneukum@suse.com \
--cc=dan.carpenter@oracle.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox