aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-12-05 14:52:12 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-06 14:57:21 -0500
commit7d976376560b72e187c96e4b18d059e0a0f9eba5 (patch)
treecf45208ea156824643ce01398abefa2feba4da4a /include/linux/phy.h
parentnet: of_mdio: use PHY_MAX_ADDR constant (diff)
downloadlinux-dev-7d976376560b72e187c96e4b18d059e0a0f9eba5.tar.xz
linux-dev-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 '')
0 files changed, 0 insertions, 0 deletions