[PATCH 6/9] drm/bridge: tc358767: Simplify error check in tc_aux_linx_setup()
Andrey Smirnov
andrew.smirnov at gmail.com
Mon Mar 11 18:32:12 UTC 2019
On Mon, Mar 4, 2019 at 4:33 AM Laurent Pinchart
<laurent.pinchart at ideasonboard.com> wrote:
>
> Hi Andrey,
>
> Thank you for the patch.
>
> On Tue, Feb 26, 2019 at 11:36:06AM -0800, Andrey Smirnov wrote:
> > Tc_poll_timeout() can only return -ETIMEDOUT, so checking for other
> > errors is not necessary. Drop it. No functional change intended.
>
> Is that true given patch 1/9 in this series ? regmap_read_poll_timeout()
> can also return an error from regmap_read().
>
Ugh, I misread "?:" in regmap_read_poll_timeout() code as "?", this
patch is incorrect. Sorry about that, will drop in v2.
Thanks,
Andrey Smirnov
More information about the dri-devel
mailing list