diff options
author | David Bauer <mail@david-bauer.net> | 2021-06-12 13:12:40 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-06-13 11:32:39 +0200 |
commit | c44cefceb3add724c135a4f57209ce66af5d40c9 (patch) | |
tree | bcd14d0ae6dc5907d37a3dc7a5082fb46c0824c0 /target/linux/ath79/dts/tp9343_tplink_tl-wa901nd-v4.dts | |
parent | d22fb7f4fd833c420bc2ab34384862da0a6688b5 (diff) | |
download | upstream-c44cefceb3add724c135a4f57209ce66af5d40c9.tar.gz upstream-c44cefceb3add724c135a4f57209ce66af5d40c9.tar.bz2 upstream-c44cefceb3add724c135a4f57209ce66af5d40c9.zip |
generic: kernel 5.4: fix probe error for AR803x PHYs
Atheros PHYs using the at803x driver apart from the AR8031/AR8033 fail
to probe with kernel 5.4, due to ret in at803x_probe being
uninitialized.
[ 1.403461] Atheros 8035 ethernet: probe of 4ef600c00.ethernet:01
failed with error -1066114012
Initialize ret in order to successfully prove the PHYs on kernel 5.4.
Kernel 5.10 is not affected, as the ret is always assigned prior to
returning.
Tested on OCEDO Koala.
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79/dts/tp9343_tplink_tl-wa901nd-v4.dts')
0 files changed, 0 insertions, 0 deletions