Received: by 2002:a17:90a:9103:0:0:0:0 with SMTP id k3csp11789457pjo; Thu, 2 Jan 2020 14:18:47 -0800 (PST) X-Google-Smtp-Source: APXvYqy2KHfntnRoQJZSGRv8w+GpjFKjD/gT6Ehn9T1k2BZqf2yBkRRCzxGMQq1w3SSQ6UopA54N X-Received: by 2002:a05:6830:1bf2:: with SMTP id k18mr92047692otb.36.1578003526929; Thu, 02 Jan 2020 14:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578003526; cv=none; d=google.com; s=arc-20160816; b=YffTlQ+/qEdusOeloULSUrAKtKo+hq8RRyvUTRsGpbHAIF+4Kun66tJVfeByF453tH gFcJ4rIokYAmTsNdcaqGOpIT/8Gm70ZIzGY7rFL99ffpxzcgj2+P6d3phXfHJhcw2Lkq QG7bwS1khwru/hWtsKq1Xrsr3ilpe2jIHqhOT3e3IflapWjqD/0/0+pOeFPohNXRofpZ j4JU7XXgAQkgvVI7oT0L4887ZphlOmh4PJNtJqyBhPV0RWnaZlEEBdBeJEN4NFpuzmRB rPYSV+K82DkylN9YppV64M0IeZeNAls93c73JDkupgsZZreFJWAkJksxFQoHJeBFxwSz r9iA== 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=I9Jxt1J1qPZBcFqzvclLTAXK/ou7GgPIK4KKdHBodXw=; b=Gns3Hlk3ypuBNxSIRP45P0ZX/IFFtcZKDnySd6VR9rXz8untvJtSznUvlMyojEWD0a i537HeIZqLM4obVHZbh0kTn1iUcutt9g0eN6Gf00ritsSuBEFDdAK0sojiOTua1k1fPZ LmkXUPcOFmDsLL8zkIwrvGVCSDbA42ezg9NkaOlOgCjSSW9vtb+yZE88CBkRHlGeKaG2 AndNYW9Zyy6KctO11zKrKSZ48mo9GXvBaA0MV407VByaID237SGF28u2JWv7/lxumtlc MKK7c/L1ybnY/IL2k6dGHDdAXDXU9pEQLdaQ8LAd9XbcwBhhkYky3HOleE17d815AyLS YP2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lkyAdRHP; 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 n11si28548608otq.112.2020.01.02.14.18.33; Thu, 02 Jan 2020 14:18:46 -0800 (PST) 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=lkyAdRHP; 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 S1728391AbgABWR6 (ORCPT + 99 others); Thu, 2 Jan 2020 17:17:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:60926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbgABWR4 (ORCPT ); Thu, 2 Jan 2020 17:17:56 -0500 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 AB53122314; Thu, 2 Jan 2020 22:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578003476; bh=A3XE+puTXjA9ypSDzn1jexAtI7UUySgWIBLw+o3TCgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lkyAdRHPRJ5yN6gcOyrMHpq37KKdRNJI3Uwf9gu4+vC1wV3+egJuFnCu4vgG+zIie VuOPa15sTrNESPogiFwSaiGnmrA+hhQhyA96Gj1Gas5nNywQoGYa4d2xk4U0XOWWJp vnwaMYXWj/CbfAwwhqSRAmQzAd9Ba0pp8KLL3pMc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Madalin Bucur , "David S. Miller" Subject: [PATCH 5.4 150/191] net: phy: aquantia: add suspend / resume ops for AQR105 Date: Thu, 2 Jan 2020 23:07:12 +0100 Message-Id: <20200102215845.564560391@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200102215829.911231638@linuxfoundation.org> References: <20200102215829.911231638@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: Madalin Bucur [ Upstream commit 1c93fb45761e79b3c00080e71523886cefaf351c ] The suspend/resume code for AQR107 works on AQR105 too. This patch fixes issues with the partner not seeing the link down when the interface using AQR105 is brought down. Fixes: bee8259dd31f ("net: phy: add driver for aquantia phy") Signed-off-by: Madalin Bucur Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/phy/aquantia_main.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/phy/aquantia_main.c +++ b/drivers/net/phy/aquantia_main.c @@ -627,6 +627,8 @@ static struct phy_driver aqr_driver[] = .config_intr = aqr_config_intr, .ack_interrupt = aqr_ack_interrupt, .read_status = aqr_read_status, + .suspend = aqr107_suspend, + .resume = aqr107_resume, }, { PHY_ID_MATCH_MODEL(PHY_ID_AQR106),