From patchwork Sun Jul 31 11:25:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9253355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 499DF6048F for ; Sun, 31 Jul 2016 11:30:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 381362843C for ; Sun, 31 Jul 2016 11:30:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 280082845D; Sun, 31 Jul 2016 11:30:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD0342843C for ; Sun, 31 Jul 2016 11:30:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bTovB-0004hj-Lb; Sun, 31 Jul 2016 11:28:41 +0000 Received: from forward13o.cmail.yandex.net ([2a02:6b8:0:1a72::1e3]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bTov7-0004Ka-If for linux-arm-kernel@lists.infradead.org; Sun, 31 Jul 2016 11:28:38 +0000 Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward13o.cmail.yandex.net (Yandex) with ESMTP id 90CDE207D8; Sun, 31 Jul 2016 14:28:12 +0300 (MSK) Received: from smtp3h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id 7A0D644104B; Sun, 31 Jul 2016 14:28:12 +0300 (MSK) Received: by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 8km83PzHx1-QT2uOQjT; Sun, 31 Jul 2016 14:26:42 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1469964492; bh=xZCy96arF5YN14TQObmRHM/m9OGhS49ncHpvJD8FY9o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=jwpGwGSbGy72g++AdHMQt9zP5T1Cj++soIlqQ3hiQ3e6TyJOidblaXb+jMz8+tjzL 8027z3LN4zqWfBeWyH3wGkvlTsJBUYbBtCuZCoHHBA1e5AqEXtpAOlQsOdVraOUdCs 6Pa2YMmRLsz7pWyDXB8pPWCKtJMsjKxvyvvQ9wp4= Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Hans de Goede Subject: [PATCH 3/3] ehci-platform: add the max clock number to 4 Date: Sun, 31 Jul 2016 19:25:36 +0800 Message-Id: <20160731112536.4625-3-icenowy@aosc.xyz> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160731112536.4625-1-icenowy@aosc.xyz> References: <20160731112536.4625-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160731_042837_840175_9815CAEE X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Greg Kroah-Hartman , Reinder de Haan , linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Tony Prisk , Alan Stern , Icenowy Zheng , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner A64 EHCI requires 4 clocks to be enabled. Signed-off-by: Icenowy Zheng --- drivers/usb/host/ehci-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 6816b8c..876dca4 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -38,7 +38,7 @@ #include "ehci.h" #define DRIVER_DESC "EHCI generic platform driver" -#define EHCI_MAX_CLKS 3 +#define EHCI_MAX_CLKS 4 #define EHCI_MAX_RSTS 3 #define hcd_to_ehci_priv(h) ((struct ehci_platform_priv *)hcd_to_ehci(h)->priv)