Re: [PATCH v5] phy: samsung: Use readl_poll_timeout function

2020-08-23 Thread Vinod Koul
On 20-07-20, 17:35, Anand Moon wrote: > Instead of a busy waiting while loop using udelay > use readl_poll_timeout function to check the condition > is met or timeout occurs in crport_handshake function. > readl_poll_timeout is called in non atomic context so > it safe to sleep until the condition

[PATCH v5] phy: samsung: Use readl_poll_timeout function

2020-07-20 Thread Anand Moon
Instead of a busy waiting while loop using udelay use readl_poll_timeout function to check the condition is met or timeout occurs in crport_handshake function. readl_poll_timeout is called in non atomic context so it safe to sleep until the condition is met. Signed-off-by: Anand Moon --- Changes