From patchwork Sun Jan 13 00:22:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timotej Lazar X-Patchwork-Id: 10761187 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E96613B5 for ; Sun, 13 Jan 2019 00:26:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7535528F7D for ; Sun, 13 Jan 2019 00:26:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6940E28F94; Sun, 13 Jan 2019 00:26:30 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 26E0928F7D for ; Sun, 13 Jan 2019 00:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JtWiPzCMr1R0J+et4sGtz4fpkJfrlaJK0U48D6R8ds0=; b=jL6Hc//4vikF2m vlbRDG+MozbCACJ4pPrgfKTtDmb97ifXKTjtqBilraS1zhRlxqOlrMfQ/i+SEjsrD7PgVD5LKeax6 UW9PQsFbqoTTeJZwk1KJWiVOb1lrjNNFTOF6OoVKTVC4YHjTUNg3BbaoIpVSPFRzy00tRLGSb0GFc +NSg7YVamr9m7M88jwwv+z2Ln/et+Vuwc6G3SG5Cmk8ulopmWrl85Z4yVahW/ajkYcgqLu909IfSC JkHSOknUzZaPlKD2BgZw2DME8n55dC9G+BH4uOXcSGAybP7GD/BXsl9+TWYaqVrhm2/9L8JavQuoO RPWdb7M5bjqzy84sG85Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1giTbg-0001jE-85; Sun, 13 Jan 2019 00:26:28 +0000 Received: from bsn-77-101-244.static.siol.net ([193.77.101.244] helo=araneo.si) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1giTbc-0001iV-Oe; Sun, 13 Jan 2019 00:26:27 +0000 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id b0aeee70; Sun, 13 Jan 2019 00:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20180623; bh=WYcNJzRkBf9RHhM51jGxPIUl8eY=; b=aTEaHLeOvRzZa6Ub HXoBN6O4i7lDaWY0sSZaH+q9N/sNrKv46ZvtoWqosP0VZRFu0bk2n5dPH3El3EO6 AWW4Yky1ej87I4hBD7Ht1GkfAfJm3JnYSOEVJti07gxD6DCKW893SJrw7ZK1juz6 GFV/FVJtDKn3hBLrZ+99OeH7e0hQ1CoPEzhSAwEpYRcVprwjZr4XceAuDAVcEjnP hJKyKGTNLY7qWeweRjhIRUzIu6IzXoGtX52gIBRSO1ee/bUYqWxLkHYQgyWRehy0 DJrmktcY1DJTccKQk772+eHyZqfETF/NwFzenIFwrgvkzsVVNqanrgoJBavZsr/j RScdoQ== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 25b476e9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 13 Jan 2019 00:26:07 +0000 (UTC) From: Timotej Lazar To: "David S. Miller" Subject: [PATCH net] net: phy: meson-gxl: Use the genphy_soft_reset callback Date: Sun, 13 Jan 2019 01:22:55 +0100 Message-Id: <20190113002255.15310-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190112_162625_270941_6824C713 X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Timotej Lazar , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Heiner Kallweit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since the referenced commit, Ethernet fails to come up at boot on the board meson-gxl-s905x-libretech-cc. Fix this by re-enabling the genphy_soft_reset callback for the Amlogic Meson GXL PHY driver. Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") Signed-off-by: Timotej Lazar Reviewed-by: Florian Fainelli --- drivers/net/phy/meson-gxl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c index b03bcf2c388a..3ddaf9595697 100644 --- a/drivers/net/phy/meson-gxl.c +++ b/drivers/net/phy/meson-gxl.c @@ -233,6 +233,7 @@ static struct phy_driver meson_gxl_phy[] = { .name = "Meson GXL Internal PHY", .features = PHY_BASIC_FEATURES, .flags = PHY_IS_INTERNAL, + .soft_reset = genphy_soft_reset, .config_init = meson_gxl_config_init, .aneg_done = genphy_aneg_done, .read_status = meson_gxl_read_status,