From patchwork Thu Feb 21 10:23:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 158899 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp313967jaa; Thu, 21 Feb 2019 02:23:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IYEqHu6bIWrLsZ5zrowBZA2xEwoSmiRHaJ/L+Rlt15E23HOZ6XldGCXkinV0KJzK0edgcNL X-Received: by 2002:a63:234c:: with SMTP id u12mr29815092pgm.282.1550744627416; Thu, 21 Feb 2019 02:23:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550744627; cv=none; d=google.com; s=arc-20160816; b=Lf3uIlzR77Clw8yepyeOqmQA8c0ksLVPT59GiKOt9yMzTE/UAB+yUmAAUDASC6/AeC RI3gL6HSWWFsCuuOeR81onpCG46dMACCCuNqEdnpONYD1innDa4TtQ7AH3kOmQ25NQi9 8PCsTiXI2lVwWeysfRIi5elkdbxeRIyQ3efGRPGxaVmEVD8SqNVBX03g1PqJiSO2oA0m E3vXZC12e77FbAsaWsrGcVIahT+3hC9SiwZaF8Ai0geMqZU/NFHY7lb/4RizqxpcXEQN l5L4g+moL7cm9HK9242zzWLSvCUp/jkTBg1CgoaqD3Pkx87swj5ruMv1NDeDpPuhupfo uZuA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=TEtLoLerQyaUsJdFzFvn6oJ+s90uPbzluWyIJMp7AOs=; b=KPZ4hxLZlZCVYdZ1WvBAACi0GQaNgiSjGgTnDMD1tGVjRMnGvLaLL52tyTDTTnR6ub aI2yYV/zQpoCvukMbPTwbNifckEMF3YCR8Vj2HM6ww9jSDiEYnMezG42U8SrqBMgLTo+ q/lpRX6MH2aR4FtsKaTlHlxgBZkhjXAcWd2Ce8Hq7Jo5nqO18jCI5PLALRCJ+M3R5+50 3CYdgzMhYhA+qS7ayjApFkGGfYwdU1CI2VIPH9hMFMVWXMyqTF+53mvVMEJ9aRIETQI4 j838SzPAE3LHNXt2y0prmIzsnkxTPs2YryqWmoMxT6EjkNX2UCBkdli11TGxUrbdm0Y5 apXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G+KBj7Ih; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n24si7234504pfj.149.2019.02.21.02.23.47; Thu, 21 Feb 2019 02:23:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=G+KBj7Ih; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725858AbfBUKXq (ORCPT + 15 others); Thu, 21 Feb 2019 05:23:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:42528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbfBUKXq (ORCPT ); Thu, 21 Feb 2019 05:23:46 -0500 Received: from localhost.localdomain (unknown [171.76.105.2]) (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 A8F1C20836; Thu, 21 Feb 2019 10:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550744625; bh=NUIArXE8JiDAnTDGHeZivMGIAHofHYYeluAZ74sT25g=; h=From:To:Cc:Subject:Date:From; b=G+KBj7IhOg7oXcDukFfO7DKCxh1v67iE5UQk6OQWp2sFstgPO3u8eg2mEu1Vsbs/b NKshazwoSnWJSgUYh/DK4GFWONiGb41JHCRAU3R/SJYuCQwBYXUYIoEzPRmn8sHgUn EclPWySrhLRNUYqQFmQOjqupOfEoumiWZFE8oeFY= From: Vinod Koul To: David S Miller Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , netdev@vger.kernel.org, Niklas Cassel , Andrew Lunn , Florian Fainelli , "Nori, Sekhar" , Peter Ujfalusi , Marc Gonzalez Subject: [PATCH net-next v4 0/2] net: phy: at803x: Update delays for RGMII modes Date: Thu, 21 Feb 2019 15:53:13 +0530 Message-Id: <20190221102315.12946-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Peter[1] reported that patch cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode") caused regression on am335x-evmsk board. This board expects the Phy delay to be enabled but specified RGMII mode which refers to delays being disabled. So fix this by disabling delay only for RGMII mode and enable for RGMII_ID and RGMII_TXID/RXID modes. While at it, as pointed by Dave, don't inline the helpers. [1]: https://www.spinics.net/lists/netdev/msg550749.html Changes in v4: - fix log & comments nbased on Marc's feedback Vinod Koul (2): net: phy: at803x: don't inline helpers net: phy: at803x: disable delay only for RGMII mode drivers/net/phy/at803x.c | 57 +++++++++++++++++++++++++++++++--------- 1 file changed, 44 insertions(+), 13 deletions(-) -- 2.20.1