From patchwork Tue May 17 12:54:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Neukum X-Patchwork-Id: 12852412 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91155C433EF for ; Tue, 17 May 2022 12:54:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242248AbiEQMyz (ORCPT ); Tue, 17 May 2022 08:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243754AbiEQMyx (ORCPT ); Tue, 17 May 2022 08:54:53 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40C1D4D24D for ; Tue, 17 May 2022 05:54:51 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 013221F8B3; Tue, 17 May 2022 12:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1652792090; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=O+9mtNz4QsFjc69uuVeUeTSprxMfYIwHbv0ZfYgpkeU=; b=AYCIhll4XdoXy4nF0vX/GaAxicu6bYfT+F2YbIR0rxWAlgzzKwG/2rXkVdgK5d6TBq2l/1 z3ikiLI+c88ViTnVP/f2u11oefHrWMy+fgIDAGkha0MGlwQ1lZH3x758goG6FwZ3S15ZN0 FSLqACiSW6DEJstB1KENF1lJmQobxqI= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BE7FF13AA2; Tue, 17 May 2022 12:54:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NXDLLBmbg2KTIgAAMHmgww (envelope-from ); Tue, 17 May 2022 12:54:49 +0000 From: Oliver Neukum To: linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl, dan.carpenter@oracle.com, mchehab@kernel.org Cc: Oliver Neukum Subject: [PATCH] au0828: allow higher speeds Date: Tue, 17 May 2022 14:54:47 +0200 Message-Id: <20220517125447.19535-1-oneukum@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This should be taken as a minimum speed. Signed-off-by: Oliver Neukum --- 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;