diff options
author | Timur Tabi <timur@codeaurora.org> | 2016-04-26 12:44:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-28 16:48:21 -0400 |
commit | a05d7dfc51417f6437ff35e4682fe547fb665286 (patch) | |
tree | f23c2ca79d397de92c70af4cdcea32947884cbb3 /net | |
parent | 956a7ffe00b4e8b75d98881ae4d0bd1b580648cb (diff) | |
download | linux-a05d7dfc51417f6437ff35e4682fe547fb665286.tar.bz2 |
net: phy: at803x: only the AT8030 needs a hardware reset on link change
Commit 13a56b44 ("at803x: Add support for hardware reset") added a
work-around for a hardware bug on the AT8030. However, the work-around
was being called for all 803x PHYs, even those that don't need it.
Function at803x_link_change_notify() checks to make sure that it only
resets the PHY on the 8030, but it makes more sense to not call that
function at all if it isn't needed.
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions