summaryrefslogtreecommitdiff
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-12-06 02:52:12 +0400
committerDavid S. Miller <davem@davemloft.net>2013-12-06 23:57:21 +0400
commit7d976376560b72e187c96e4b18d059e0a0f9eba5 (patch)
treecf45208ea156824643ce01398abefa2feba4da4a /include/linux/phy.h
parentbed2f9ed2f3c4debe2e930c44ee95af980db7e20 (diff)
downloadlinux-7d976376560b72e187c96e4b18d059e0a0f9eba5.tar.xz
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 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions