realtek: avoid busy waiting for RTL839x PHY read/write
authorJan Hoffmann <jan@3e8.eu>
Fri, 14 Oct 2022 21:06:14 +0000 (23:06 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 23 Oct 2022 20:33:08 +0000 (22:33 +0200)
commit4657a5301eb5512b335de696d6a719c280826d46
treeafc194a10c62d34f5b19f60e3607ed2223699c24
parentb295c7140bc39aa58993171fe1ef4345b3e9838d
realtek: avoid busy waiting for RTL839x PHY read/write

Switch to a polling implementation similar to the one for RTL838x, to
allow other kernel tasks to run while waiting.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl839x.c