Re: [PATCH v2 2/2] phy: rockchip-emmc: use regmap_read_poll_timeout to poll dllrdy
From: Doug Anderson
Date: Wed Jan 10 2018 - 14:36:22 EST
Hi,
On Tue, Jan 9, 2018 at 11:37 PM, Caesar Wang <wxt@xxxxxxxxxxxxxx> wrote:
> From: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
>
> Just use the API instead of open-coding it, no functional change
> intended.
>
> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
> Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx>
> Signed-off-by: Caesar Wang <wxt@xxxxxxxxxxxxxx>
>
> ---
>
> Changes in v2:
> - As Brian commented on https://patchwork.kernel.org/patch/10139891/,
> changed the note and added to print error value with
> regmap_read_poll_timeout API.
>
> drivers/phy/rockchip/phy-rockchip-emmc.c | 33 +++++++++++---------------------
> 1 file changed, 11 insertions(+), 22 deletions(-)
See comments in Shawn's v2. AKA: <https://patchwork.kernel.org/patch/10154797/>