Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3785613ybi; Mon, 29 Jul 2019 12:35:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJEHIVADFZTSFwObLk0ZUUe1JoOuFwzHRUe3V9v6kYw0wICuSl9jLulsjc+z0qoG+yYtxs X-Received: by 2002:a17:902:8bc1:: with SMTP id r1mr62849110plo.42.1564428904056; Mon, 29 Jul 2019 12:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564428904; cv=none; d=google.com; s=arc-20160816; b=FxaORXeTVJ0P3+KX5pepl0J+tTK+z0FmrkNZ2/NN46TeJjoKXVQDzGPfMMwdfj40ph w6JCfDohRNVR2nlH3X7j9webqcQ0Dnqsk2PCPsYLtMsheB8exxNhZbn7WT9yuielF7LA j3zjT54iUAyn6tD68ekvJOnLr9RNwXdn9ny+7cypQYxq+ezRMktyTEMB3BSsrSCfJ/qh TTvzwQ5CY4sSWs2145dDJJynO2Seg7I2thPrEvswMtTWY6C98dRy2QniGd7mxAH0gsWD 22ZBhyQHo+kWTwtjBDnIOud8/zghJspW1GyhKbkRlL4S/5+HsJgtmrnNHuekFC/SX2Y4 FOLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m7m42c98ynF+2TdM1qV8Ob7TcBSYcYKT/cvxAFx/qq4=; b=T4G3UoxdA3IAP7qaVWvjU09dmxJeNIhjzZWMxU27K+YQ/UMxbiwMewEdJqB4h/RGm3 5waYREp3jLl1IKeHc/GAbdymRtB+7Q6XhbprDdK/jjXemDXF/QDXZz7OStgadgTz8/fa dCAnEBkFku4h4lSlk1df+6/qoHU6WRZXOGPINpuj+XBf/2/lRnTYdurZWVh7ZZNmkXvm yaZ/hUIqDrV7en9uXQYND9TaE/XSy45fRHnSq3Snn9TCQ8g0Izl3a9SGwJhHizos6yRJ 8GTDuUf3+NX8Ad+Scayj6YqoVERR9NM+10amns41RQTX48eXDyc3O/JymXoLGo7Z8cfR my4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mQLQ+mO5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si27095400pgv.273.2019.07.29.12.34.49; Mon, 29 Jul 2019 12:35:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mQLQ+mO5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730270AbfG2Tcg (ORCPT + 99 others); Mon, 29 Jul 2019 15:32:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:46160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730262AbfG2Tcf (ORCPT ); Mon, 29 Jul 2019 15:32:35 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA08A217D4; Mon, 29 Jul 2019 19:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428755; bh=K8tCOehphzHY0IO/sbGLCbhffAbFe0XqUIVhEKI7KQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mQLQ+mO50plewPK7Dfaek34yU5b1o6MYxAw1nDnPzTYA2pAWi01hfkdbn1NvMjBku hf1qt5ssGcK1m9Cj1xOjL6mgSeAiXLuveRqq6xJ0gOv5WRV25jhmnHwK/51GZ/pxVR B8prRkYyO9ppfVmF/OldordyBhFJvPnOWW/omEjI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andrew Lunn , Josua Mayer , "David S. Miller" Subject: [PATCH 4.14 175/293] net: mvmdio: allow up to four clocks to be specified for orion-mdio Date: Mon, 29 Jul 2019 21:21:06 +0200 Message-Id: <20190729190837.932300658@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Josua Mayer commit 4aabed699c400810981d3dda170f05fa4d782905 upstream. Allow up to four clocks to be specified and enabled for the orion-mdio interface, which are required by the Armada 8k and defined in armada-cp110.dtsi. Fixes a hang in probing the mvmdio driver that was encountered on the Clearfog GT 8K with all drivers built as modules, but also affects other boards such as the MacchiatoBIN. Cc: stable@vger.kernel.org Fixes: 96cb43423822 ("net: mvmdio: allow up to three clocks to be specified for orion-mdio") Reviewed-by: Andrew Lunn Signed-off-by: Josua Mayer Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/marvell/mvmdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/marvell/mvmdio.c +++ b/drivers/net/ethernet/marvell/mvmdio.c @@ -64,7 +64,7 @@ struct orion_mdio_dev { void __iomem *regs; - struct clk *clk[3]; + struct clk *clk[4]; /* * If we have access to the error interrupt pin (which is * somewhat misnamed as it not only reflects internal errors