]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob
e4e823661d5bea32d9b64162049c4dbdeb76f3ab
[thirdparty/kernel/stable-queue.git] /
1 From foo@baz Fri Mar 8 07:37:28 CET 2019
2 From: Heiner Kallweit <hkallweit1@gmail.com>
3 Date: Mon, 4 Mar 2019 19:39:03 +0100
4 Subject: net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
5
6 From: Heiner Kallweit <hkallweit1@gmail.com>
7
8 [ Upstream commit 3acca1dd17060332cfab15693733cdaf9fba1c90 ]
9
10 In the original patch I missed to add mv88e6xxx_ports_cmode_init()
11 to the second probe function, the one for the new DSA framework.
12
13 Fixes: ed8fe20205ac ("net: dsa: mv88e6xxx: prevent interrupt storm caused by mv88e6390x_port_set_cmode")
14 Reported-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
15 Suggested-by: Andrew Lunn <andrew@lunn.ch>
16 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
17 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
18 Signed-off-by: David S. Miller <davem@davemloft.net>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 ---
21 drivers/net/dsa/mv88e6xxx/chip.c | 1 +
22 1 file changed, 1 insertion(+)
23
24 --- a/drivers/net/dsa/mv88e6xxx/chip.c
25 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
26 @@ -4847,6 +4847,7 @@ static int mv88e6xxx_probe(struct mdio_d
27 if (err)
28 goto out;
29
30 + mv88e6xxx_ports_cmode_init(chip);
31 mv88e6xxx_phy_init(chip);
32
33 if (chip->info->ops->get_eeprom) {