]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: fix runtime_pm while add/kill vlan
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 10 Aug 2018 12:47:09 +0000 (15:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 16:38:53 +0000 (09:38 -0700)
commitcdce1c0ca0e709d8946068e2e55ae5e710f4e131
treeffe8720640aabf7712f1093710db624fd800582c
parent06d553a597ba1f1c3b36e161b65b9e93265a111a
net: ethernet: ti: cpsw: fix runtime_pm while add/kill vlan

It's exclusive with normal behaviour but if try to set vlan to one of
the reserved values is made, the cpsw runtime pm is broken.

Fixes: 1f7217cc9864 ("drivers: net: cpsw: ndev: fix accessing to suspended device")
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c