From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 268FAC2F3D5 for ; Mon, 21 Jan 2019 14:21:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E909420879 for ; Mon, 21 Jan 2019 14:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548080500; bh=w0y6iVNnqG8dvFbope+PyfHmutH6HUEgmpCn2F/1Xis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=zriicm2V2/lERATHDN8kzol+JnDpS2nxsSUtkxe2Cp+vFBHHj02yOyTAjlV5BMohK HCvoHyG57dKTLeoClNjiMrlus1yDMoWA1sVhlMk7oJ5yyfMy99H//JMmVQOrEQiD8E khiasP/yfcRiHNQeeRscuciIMMUQbpr7KW4PhWis= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729410AbfAUNq6 (ORCPT ); Mon, 21 Jan 2019 08:46:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:55970 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729396AbfAUNqz (ORCPT ); Mon, 21 Jan 2019 08:46:55 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 1AE4220861; Mon, 21 Jan 2019 13:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548078414; bh=w0y6iVNnqG8dvFbope+PyfHmutH6HUEgmpCn2F/1Xis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0h6sRviy12AqO3YBl16mKzBH5fkyL3sGTirSf3HPymcLxy+i3NmzBdwHKA9YHZjmW SVWuz1h6NEPRwABgchouxqpJ3siSJuLr90ju/jRrbbGyUlw9l+HpbQYnC1sq7G0K/c 0pXBw1C9qXzc+ImsxWk8tFwUplM5JK2IxrBywxKE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Timotej Lazar , Florian Fainelli , "David S. Miller" Subject: [PATCH 4.20 024/111] net: phy: meson-gxl: Use the genphy_soft_reset callback Date: Mon, 21 Jan 2019 14:42:18 +0100 Message-Id: <20190121122458.431356230@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190121122455.819406896@linuxfoundation.org> References: <20190121122455.819406896@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ From: Timotej Lazar [ Upstream commit f2f98c1d7fa81e25a5cf910edc9db4d3c6f36c1b ] 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/phy/meson-gxl.c | 1 + 1 file changed, 1 insertion(+) --- 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 | PHY_HAS_INTERRUPT, + .soft_reset = genphy_soft_reset, .config_init = meson_gxl_config_init, .aneg_done = genphy_aneg_done, .read_status = meson_gxl_read_status,