commit | a85643d47d111730f6ad7cf0f5736fcd4164c14b | [log] [tgz] |
---|---|---|
author | Anand Moon <linux.amoon@gmail.com> | Mon Jul 20 17:35:02 2020 +0000 |
committer | Vinod Koul <vkoul@kernel.org> | Sun Aug 23 19:36:37 2020 +0530 |
tree | f334dfffd5450bd874ff412b1b9f4040d8e20264 | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 [diff] |
phy: samsung: Use readl_poll_timeout function 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 <linux.amoon@gmail.com> Link: https://lore.kernel.org/r/20200720173502.542-1-linux.amoon@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>