realtek: rtl838x: Fix ethernet polling timeout on probe
authorOlliver Schinagl <oliver@schinagl.nl>
Wed, 31 Aug 2022 15:20:52 +0000 (17:20 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 14 Sep 2022 16:23:06 +0000 (18:23 +0200)
commitc4d030f24cff34737d7cf1f116022b8dbe45f5be
tree257f0ba397150cb6f9abdd31645378ff9a0134c7
parent67144f38e7e2bf6e973ffee3043883192fb73764
realtek: rtl838x: Fix ethernet polling timeout on probe

Due to an oversight we accidentally inverted the timeout check. This
patch corrects this.

Fixes: 9cec4a0ea45b ("realtek: Use built-in functionality for timeout loop")
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
[ wrap poll_timeout line to 80 char ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl838x.c