net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA...
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 4 Mar 2019 18:39:03 +0000 (19:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 21:04:41 +0000 (13:04 -0800)
commit3acca1dd17060332cfab15693733cdaf9fba1c90
tree3c56e2b767a7d52021f08f6e609ff590aadb5dd2
parent9e9322e5d28e433f1f25f01ffa0aa5762c75dad6
net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework

In the original patch I missed to add mv88e6xxx_ports_cmode_init()
to the second probe function, the one for the new DSA framework.

Fixes: ed8fe20205ac ("net: dsa: mv88e6xxx: prevent interrupt storm caused by mv88e6390x_port_set_cmode")
Reported-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c