Re: [PATCH net] net: dsa: qca8k: Fix port enable for CPU port

2019-09-27 Thread David Miller
From: Andrew Lunn Date: Wed, 25 Sep 2019 02:47:07 +0200 > The CPU port does not have a PHY connected to it. So calling > phy_support_asym_pause() results in an Opps. As with other DSA > drivers, add a guard that the port is a user port. > > Reported-by: Michal Vokáč > Fixes: 0394a63acfe2 ("net:

Re: [PATCH net] net: dsa: qca8k: Fix port enable for CPU port

2019-09-25 Thread Michal Vokáč
On 25. 09. 19 2:47, Andrew Lunn wrote: The CPU port does not have a PHY connected to it. So calling phy_support_asym_pause() results in an Opps. As with other DSA drivers, add a guard that the port is a user port. Reported-by: Michal Vokáč Thank you for the prompt fix Andrew! Tested-by: Mich

[PATCH net] net: dsa: qca8k: Fix port enable for CPU port

2019-09-24 Thread Andrew Lunn
The CPU port does not have a PHY connected to it. So calling phy_support_asym_pause() results in an Opps. As with other DSA drivers, add a guard that the port is a user port. Reported-by: Michal Vokáč Fixes: 0394a63acfe2 ("net: dsa: enable and disable all ports") Signed-off-by: Andrew Lunn ---