diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2022-04-16 02:30:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-17 15:28:29 +0300 |
commit | 6cfc03b602200c5cbbd8d906fd905547814e83df (patch) | |
tree | 8a45fac12abf4e4a890a36173bb7f874e3bc9493 /crypto/acompress.c | |
parent | 2349b83a2486c55b9dd225326f0172a84a43c5e4 (diff) | |
download | linux-6cfc03b602200c5cbbd8d906fd905547814e83df.tar.xz |
net: dsa: qca8k: correctly handle mdio read error
Restore original way to handle mdio read error by returning 0xffff.
This was wrongly changed when the internal_mdio_read was introduced,
now that both legacy and internal use the same function, make sure that
they behave the same way.
Fixes: ce062a0adbfe ("net: dsa: qca8k: fix kernel panic with legacy mdio mapping")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions