diff options
author | 2020-06-22 13:40:41 +0300 | |
---|---|---|
committer | 2020-06-25 15:33:10 +0200 | |
commit | 6d6a0392ee570aa89308104cf0d1887611350c05 (patch) | |
tree | dcd35d3428c439d34a8d1b2d48cba8a38b4c3943 | |
parent | 29d1d0c7246462f2138ede9d5e5a1a7606366c17 (diff) | |
download | linux-yocto-6d6a0392ee570aa89308104cf0d1887611350c05.tar.gz linux-yocto-6d6a0392ee570aa89308104cf0d1887611350c05.tar.bz2 linux-yocto-6d6a0392ee570aa89308104cf0d1887611350c05.zip |
Revert "dpaa_eth: fix usage as DSA master, try 3"
This reverts commit b145710b69388aa4034d32b4a937f18f66b5538e which is
commit 5d14c304bfc14b4fd052dc83d5224376b48f52f0 upstream.
The patch is not wrong, but the Fixes: tag is. It should have been:
Fixes: 060ad66f9795 ("dpaa_eth: change DMA device")
which means that it's fixing a commit which was introduced in:
git describe --tags 060ad66f97954
v5.4-rc3-783-g060ad66f9795
which then means it should have not been backported to linux-4.19.y,
where things _were_ working and now they're not.
Reported-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 6683409fbd4a..4b21ae27a9fd 100644 --- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c @@ -2796,7 +2796,7 @@ static int dpaa_eth_probe(struct platform_device *pdev) } /* Do this here, so we can be verbose early */ - SET_NETDEV_DEV(net_dev, dev->parent); + SET_NETDEV_DEV(net_dev, dev); dev_set_drvdata(dev, net_dev); priv = netdev_priv(net_dev); |