From patchwork Wed May 11 19:39:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 621238 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3r4mhk46zyz9t4F for ; Thu, 12 May 2016 05:41:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=U7g7vUCw; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0ZzJ-0007Ou-Qs; Wed, 11 May 2016 19:40:05 +0000 Received: from mail-yw0-x242.google.com ([2607:f8b0:4002:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0ZzG-0006nh-Lc for linux-arm-kernel@lists.infradead.org; Wed, 11 May 2016 19:40:03 +0000 Received: by mail-yw0-x242.google.com with SMTP id v81so5267593ywa.2 for ; Wed, 11 May 2016 12:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MfLVBEem6aY+3YYJpL6uJM4PY4ObwcLlqa5U9YRn2xk=; b=U7g7vUCwv+B91t/n6+SF0T48QmfRGa/a6zlEEQlA3cxPnH7LHW6ZFJwLJADZTxEJx1 V2QkvLGQudBoI65cvfv40lR4pEvZrtKvcsxVUutFilLRJzSSysC8lNhtBShkg2gzDMnq MP+VdEsQF4IUotvwIKPlteRlIzgFqOfB7TeQhtSEjE8BGy7F7Z2+IrO2kJ4QGlYRj6H2 UcjVEWeCd+p7oE7S8N7zTTMKc6Lurkca1Q2d9/Vm4WQ16tdJ16svnPb2U78B3Skxtk9s SgxSRoad9v0o71NuaWIDomWZpdGYLSW6hCe985Ck2YoEy+mmpPa9IBGUL4Ik9MS8Lpay OdUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MfLVBEem6aY+3YYJpL6uJM4PY4ObwcLlqa5U9YRn2xk=; b=NtEJPv9pxjkTT4XZpHNlJdlbXLRwI/U6gb2tGqe5Rr1m9Ff/DIoEj0pZEpy1jLcXLu mc6D1KB+zeowCiIKuWIvS1fz5MwMKbTlcv5gWNHwQPL5TgRw9BLNjWzmqfkCDBtjagAF s4YO8ZDhb7622q5wV2sN/fYT83doFMcFQNxiFI6IQNT3V2mkfZrhAV0sezeJB28+Yrx/ 1ltXPiXdmdccwWrw8/W/OvafoaYXSRyNU1Ul+GnMwF+0ItDzJtyr0mGWevWxyjGQIg4I sZEQGNnUP6cr1o2V7QftHiq1uii/7zCPAwdZZvuKIgGOZ4EyG0mrbuAbcMVvpXx6jTLw 6ZFw== X-Gm-Message-State: AOPr4FUvA9ewNAYSj/fNSfpeOXtSdocSa8lDN+qbFa/tXGP2GA/taaZ1XpGvZmNLeh29CQ== X-Received: by 10.129.155.5 with SMTP id s5mr2487966ywg.43.1462995581551; Wed, 11 May 2016 12:39:41 -0700 (PDT) Received: from localhost.localdomain ([201.82.53.42]) by smtp.gmail.com with ESMTPSA id i67sm5067626ywf.34.2016.05.11.12.39.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 May 2016 12:39:40 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH] ARM: imx6ul: Fix Micrel PHY mask Date: Wed, 11 May 2016 16:39:30 -0300 Message-Id: <1462995570-31055-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160511_124002_823476_30B6D830 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:4002:c05:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , fugang.duan@nxp.com, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam The value used for Micrel PHY mask is not correct. Use the MICREL_PHY_ID_MASK definition instead. Thanks to Jiri Luznicky for proposing the fix at https://community.freescale.com/thread/387739 Cc: Fixes: 709bc0657fe6f9f55 ("ARM: imx6ul: add fec MAC refrence clock and phy fixup init") Signed-off-by: Fabio Estevam Reviewed-by: Andrew Lunn --- arch/arm/mach-imx/mach-imx6ul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c index a38b16b..b56de4b 100644 --- a/arch/arm/mach-imx/mach-imx6ul.c +++ b/arch/arm/mach-imx/mach-imx6ul.c @@ -46,7 +46,7 @@ static int ksz8081_phy_fixup(struct phy_device *dev) static void __init imx6ul_enet_phy_init(void) { if (IS_BUILTIN(CONFIG_PHYLIB)) - phy_register_fixup_for_uid(PHY_ID_KSZ8081, 0xffffffff, + phy_register_fixup_for_uid(PHY_ID_KSZ8081, MICREL_PHY_ID_MASK, ksz8081_phy_fixup); }