[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=WWT=Pp4cyBvLfHSoNbR=aX_O5zaiErY--t0C9Fg-pNgg@mail.gmail.com>
Date: Thu, 29 Oct 2020 09:11:09 -0700
From: Doug Anderson <dianders@...omium.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Andrzej Hajda <a.hajda@...sung.com>,
Neil Armstrong <narmstrong@...libre.com>,
LKML <linux-kernel@...r.kernel.org>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>,
Jernej Skrabec <jernej.skrabec@...l.net>,
Sean Paul <seanpaul@...omium.org>,
Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH 2/4] drm/bridge: ti-sn65dsi86: Make polling a busy loop
Hi,
On Wed, Oct 28, 2020 at 6:12 PM Stephen Boyd <swboyd@...omium.org> wrote:
>
> There's no reason we need to wait here to poll a register over i2c. The
> i2c bus is inherently slow and delays are practically part of the
> protocol because we have to wait for the device to respond to any
> request for a register. Let's rely on the sleeping of the i2c controller
> instead of adding any sort of delay here in the bridge driver.
>
> Cc: Douglas Anderson <dianders@...omium.org>
> Cc: Laurent Pinchart <Laurent.pinchart@...asonboard.com>
> Cc: Jonas Karlman <jonas@...boo.se>
> Cc: Jernej Skrabec <jernej.skrabec@...l.net>
> Cc: Sean Paul <seanpaul@...omium.org>
> Signed-off-by: Stephen Boyd <swboyd@...omium.org>
> ---
> drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Since we already did some early reviews off-list, it's not a surprise
that I have no comments. ;-)
Reviewed-by: Douglas Anderson <dianders@...omium.org>
Powered by blists - more mailing lists