Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10431917ybi; Wed, 24 Jul 2019 23:06:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5FFPrFC4IFxqcG901NvYCAAlSYEJt/0BUfsOqWHLHx+IPMifpNY9+f5aaN9zLElecqpYx X-Received: by 2002:a17:902:b70e:: with SMTP id d14mr88579782pls.309.1564034784585; Wed, 24 Jul 2019 23:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564034784; cv=none; d=google.com; s=arc-20160816; b=ogsjEqArLCXu6NJsVqsnf9vBrnCCIn454N/he14gp1XyMsYzFMx83YmbjW6vVKOZgi 86w+9cTnuurhNMn6VOeFshBJ+dDPdEODHTGwmMt90ZezaCy2pK7khAQpV+xUXCOZOnq+ ZtTRpEVN30Rt/SxdDZTZ7r11jDO6ziwc9DtG+J3TPdKEkomVU3zU1nBGQNHz3TM9e005 jGqNCmqCYuXSoGJ6oqmXl8QN2F7me432lVHNnWqYddp0+07nIGblkS5Dzdl64CEY9tht LdK1Fl4KDQ2UsY2qEqefoI3IgVKL4t4dD4cVIeSUbrT8wzJNHaV5quM7c1vDIdXyQJdj hiwg== 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=PI0OyFPSnf2HUrtTLQv2B+rk2Lztvj0yF6MfzwBExhETcoIBgwS5jJLhhWiGqXxGYF bam+cXJszT/M+puJ3YFuzDw6Gk4CL+RJZHp20FNoZPcCcezM2vaNRjtdiSi9ijIqKgxD FibDzPn1qf+iRPfl0ZqQDTvhXvBABKi7y2E9oD/bOFeatFtfYKQL40DA8G/Au6UGeLUi RgsTPHz5K7i+ArANoz5DGtAklcwlVbyqez1Wh0QPCqmYg4FaxDTNW4qBzkvD5pZtm68c sDK9TnGkWF1e+if3oTGgFz4/6hLu243078H6D/7k8BN9VPhMpAiOGrRWtOJDd2MFcqis 19Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eQ6kJ6sY; 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 p11si17951572plk.67.2019.07.24.23.06.09; Wed, 24 Jul 2019 23:06:24 -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=eQ6kJ6sY; 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 S2391561AbfGYFrw (ORCPT + 99 others); Thu, 25 Jul 2019 01:47:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:34730 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391484AbfGYFqx (ORCPT ); Thu, 25 Jul 2019 01:46:53 -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 7B95021880; Thu, 25 Jul 2019 05:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564033613; bh=K8tCOehphzHY0IO/sbGLCbhffAbFe0XqUIVhEKI7KQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eQ6kJ6sYcfwbUydHHwCqwLovQv1uC6S1/a5skoJV+C8gswmjHA+T+kpZGUbEi0RmK hyzANOja7Wh7MSCPJOct2oW48EarGcl7ZsI71d/ng0ApfgqasjJgdxRHGGsJ10/i0S uxgHPdZqO7w8A32cmBoDKv2jhIplJIChT3dRSsww= 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.19 269/271] net: mvmdio: allow up to four clocks to be specified for orion-mdio Date: Wed, 24 Jul 2019 21:22:18 +0200 Message-Id: <20190724191718.302497674@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191655.268628197@linuxfoundation.org> References: <20190724191655.268628197@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