diff options
author | 2013-12-05 14:52:12 -0800 | |
---|---|---|
committer | 2013-12-06 14:57:21 -0500 | |
commit | 7d976376560b72e187c96e4b18d059e0a0f9eba5 (patch) | |
tree | cf45208ea156824643ce01398abefa2feba4da4a /net/unix/af_unix.c | |
parent | net: of_mdio: use PHY_MAX_ADDR constant (diff) | |
download | wireguard-linux-7d976376560b72e187c96e4b18d059e0a0f9eba5.tar.xz wireguard-linux-7d976376560b72e187c96e4b18d059e0a0f9eba5.zip |
net: of_mdio: do not overwrite PHY interrupt configuration
If irq_of_parse_and_map fails to find an interrupt line for a given PHY,
we will force the PHY interrupt to be PHY_POLL, completely overriding
the previous value that the MDIO bus may have set for us (e.g:
PHY_IGNORE_INTERRUPT). In case of failure, just restore the previous
value.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions