From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiner Kallweit Subject: [PATCH net-next 0/2] net: phy: make phy_stop() synchronous Date: Tue, 18 Sep 2018 21:54:23 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" , Geert Uytterhoeven To: Florian Fainelli , Andrew Lunn , David Miller Return-path: Received: from mail-wm1-f66.google.com ([209.85.128.66]:33442 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728657AbeISB2h (ORCPT ); Tue, 18 Sep 2018 21:28:37 -0400 Received: by mail-wm1-f66.google.com with SMTP id r1-v6so7726319wmh.0 for ; Tue, 18 Sep 2018 12:54:29 -0700 (PDT) Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: There have been few not that successful attempts in the past to make phy_stop() a synchronous call instead of just changing the state. Patch 1 of this series addresses an issue which prevented this change. At least for me it works fine now. Would appreciate if Geert could re-test as well that suspend doesn't throw an error. Heiner Kallweit (2): net: linkwatch: add check for netdevice being present to linkwatch_do_dev net: phy: call state machine synchronously in phy_stop drivers/net/phy/phy.c | 2 ++ net/core/link_watch.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.19.0