public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] au0828: allow higher speeds
@ 2022-05-17 12:54 Oliver Neukum
  2022-05-17 13:03 ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Neukum @ 2022-05-17 12:54 UTC (permalink / raw)
  To: linux-media, hverkuil-cisco, dan.carpenter, mchehab; +Cc: Oliver Neukum

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-17 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-17 12:54 [PATCH] au0828: allow higher speeds Oliver Neukum
2022-05-17 13:03 ` Dan Carpenter
2022-05-17 13:15   ` Oliver Neukum
2022-05-17 13:19     ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox