From patchwork Wed Mar 22 11:02:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 95708 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp175075qgd; Wed, 22 Mar 2017 04:05:59 -0700 (PDT) X-Received: by 10.98.197.133 with SMTP id j127mr44662758pfg.238.1490180759192; Wed, 22 Mar 2017 04:05:59 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si1404265pln.122.2017.03.22.04.05.55; Wed, 22 Mar 2017 04:05:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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=@ti.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759020AbdCVLFZ (ORCPT + 6 others); Wed, 22 Mar 2017 07:05:25 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:48173 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758822AbdCVLFX (ORCPT ); Wed, 22 Mar 2017 07:05:23 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v2MB2Kic017619; Wed, 22 Mar 2017 06:02:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1490180540; bh=1f+FQLNkgiDDc3haNFoR9zC/xi6cIhq2Wedg6YfqJMM=; h=From:To:CC:Subject:Date; b=aXqeeuqczZGzPjxAJ3wrJb+B9qOhnaXYRyFv3hCvdTG23t5Of3QnCyCSaVJrh6eFg sMzDI/XLJHnziUvZmQQ6Q3gG7SvnjXY5y4+Rc5cjDWtd7bV4xWx/LXIk+TqwIYT6tV IWEaRG0S4ZfQIJYcLU5bVD/qbHg0JWRX0SbW57Wo= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2MB2Kbu022172; Wed, 22 Mar 2017 06:02:20 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Wed, 22 Mar 2017 06:02:19 -0500 Received: from lta0400828d.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2MB2HlS015824; Wed, 22 Mar 2017 06:02:17 -0500 From: Roger Quadros To: CC: , , , , , , Roger Quadros Subject: [PATCH v2 0/2] net: phy: state machine fixes for interrupt driven PHYs Date: Wed, 22 Mar 2017 13:02:02 +0200 Message-ID: <1490180524-28675-1-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, These 2 patches fix the following 2 issues with the PHY state machine when used with interrupt driven PHYs. - PHY link not coming up if Ethernet cable is plugged before Ethernet network interface is brought up. - PHY not being suspended when PHY is halted. cheers, -roger Roger Quadros (2): net: phy: Fix PHY AN done state machine for interrupt driven PHYs net: phy: Don't miss phy_suspend() on PHY_HALTED for PHYs with interrupts drivers/net/phy/phy.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4