Re: [PATCH 4/7] realtek: clean up rtl838x MDIO busy wait loop

2022-07-23 Thread Birger Koblitz
On 7/23/22 22:53, Jan Hoffmann wrote: Don't use udelay to allow other kernel tasks to execute if the kernel has been built without preemption. Also determine the timeout based on jiffies instead of loop iterations. Tested on a D-Link DGS-1210-16. ___

[PATCH 4/7] realtek: clean up rtl838x MDIO busy wait loop

2022-07-23 Thread Jan Hoffmann
Don't use udelay to allow other kernel tasks to execute if the kernel has been built without preemption. Also determine the timeout based on jiffies instead of loop iterations. This is especially important on devices containing a watchdog with a short timeout. Without this change, the watchdog is