diff options
author | Shaohui Xie <Shaohui.Xie@nxp.com> | 2016-05-10 11:42:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-10 21:59:49 +0200 |
commit | 84a527a41f38a80353f185d05e41b021e1ff672b (patch) | |
tree | 5ef4c6cf2bbb382b10276f8344453a03b2ebfaa7 /net/kcm | |
parent | tcp: refresh skb timestamp at retransmit time (diff) | |
download | linux-84a527a41f38a80353f185d05e41b021e1ff672b.tar.xz linux-84a527a41f38a80353f185d05e41b021e1ff672b.zip |
net: phylib: fix interrupts re-enablement in phy_start
If phy was suspended and is starting, current driver always enable
phy's interrupts, if phy works in polling, phy can raise unexpected
interrupt which will not be handled, the interrupt will block system
enter suspend again. So interrupts should only be re-enabled if phy
works in interrupt.
Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions