commit | 7d976376560b72e187c96e4b18d059e0a0f9eba5 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Dec 05 14:52:12 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 06 14:57:21 2013 -0500 |
tree | cf45208ea156824643ce01398abefa2feba4da4a | |
parent | bed2f9ed2f3c4debe2e930c44ee95af980db7e20 [diff] |
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>