Re: [PATCH v3 1/2] phy: rockchip-emmc: retry calpad busy trimming

From: Doug Anderson
Date: Wed Jan 10 2018 - 22:23:04 EST


Hi,

On Wed, Jan 10, 2018 at 6:40 PM, Caesar Wang <wxt@xxxxxxxxxxxxxx> wrote:
> From: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
>
> It turns out that 5us isn't enough for all cases, so let's
> retry some more times to wait for caldone.
>
> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
> Tested-by: Ziyuan Xu <xzy.xu@xxxxxxxxxxxxxx>
> Signed-off-by: Caesar Wang <wxt@xxxxxxxxxxxxxx>
> ---
>
> Changes in v3:
> - As Doug commented on both upstream and gerrit.
> Change "5, 50" to "0, 50", and the message of print.
>
> Changes in v2:
> - print the return valut with regmap_read_poll_timeout failing.
>
> drivers/phy/rockchip/phy-rockchip-emmc.c | 27 +++++++++++++++++----------
> 1 file changed, 17 insertions(+), 10 deletions(-)

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>