diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2017-06-07 01:25:32 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 15:53:16 +0100 |
commit | 13a5568d6edc15338d20e279eaf7dfb271cd73b0 (patch) | |
tree | b43a0fe4627b0fd73695afcc66237f76198ee789 /target/linux/generic/files/drivers/net/phy/b53/b53_spi.c | |
parent | 816fb3433b48af45a6e48bd2810950f71d27535f (diff) | |
download | upstream-13a5568d6edc15338d20e279eaf7dfb271cd73b0.tar.gz upstream-13a5568d6edc15338d20e279eaf7dfb271cd73b0.tar.bz2 upstream-13a5568d6edc15338d20e279eaf7dfb271cd73b0.zip |
ip17xx: correct aneg_done return value
PHY core treats any positive return value as the auto-negotiation done
indication. Since we do not actually check any device register in this
callback then update it to return positive value with a neutral meaning
instead of the register flag to avoid confusing for future readers.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
(cherry picked from commit 2cc61e6e8e951b1480a024fdb66bc539aa163bbc)
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/b53/b53_spi.c')
0 files changed, 0 insertions, 0 deletions