summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-05-11 16:39:30 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-27 09:47:30 -0700
commit91ac7387fb451a7cac3ee10f846fac8da471a256 (patch)
tree3a8786671c84019f672ab0bb455985a9eb7ffece /arch
parentb5d4a793312969e4dcb0156d4a29bb5f2f5c15f0 (diff)
downloadlinux-stable-91ac7387fb451a7cac3ee10f846fac8da471a256.tar.gz
linux-stable-91ac7387fb451a7cac3ee10f846fac8da471a256.tar.bz2
linux-stable-91ac7387fb451a7cac3ee10f846fac8da471a256.zip
ARM: imx6ul: Fix Micrel PHY mask
commit 20c15226d1c73150c4d9107301cac5dda0b7f995 upstream. 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 Fixes: 709bc0657fe6f9f55 ("ARM: imx6ul: add fec MAC refrence clock and phy fixup init") Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/mach-imx6ul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c
index acaf7056efa5..e08d02667c81 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);
}