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

Doug Anderson dianders at chromium.org
Wed Jan 10 19:22:57 PST 2018


Hi,

On Wed, Jan 10, 2018 at 6:40 PM, Caesar Wang <wxt at rock-chips.com> wrote:
> From: Shawn Lin <shawn.lin at rock-chips.com>
>
> 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 at rock-chips.com>
> Tested-by: Ziyuan Xu <xzy.xu at rock-chips.com>
> Signed-off-by: Caesar Wang <wxt at rock-chips.com>
> ---
>
> 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 at chromium.org>



More information about the Linux-rockchip mailing list