]> 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)
commit35715a16cc9057f899792b03bf3631cdf8232df3
treeffe8720640aabf7712f1093710db624fd800582c
parentb45c716bcb6b02c892bb672f33f9de3ec3a0c19b
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: b33e9b2337dc ("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