[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190329094556.wsdusg24ldy52ocw@verge.net.au>
Date: Fri, 29 Mar 2019 10:45:56 +0100
From: Simon Horman <horms@...ge.net.au>
To: Wolfram Sang <wsa@...-dreams.de>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-i2c@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Keerthy <j-keerthy@...com>, Peter Rosin <peda@...ntia.se>,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@...linux.org.uk>,
Stefan Lengfeld <contact@...fanchrist.eu>,
Phil Reid <preid@...ctromag.com.au>,
Tero Kristo <t-kristo@...com>, linux-omap@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [RFC PATCH v2 5/7] i2c: busses: omap: Add the
master_xfer_irqless hook
On Wed, Mar 27, 2019 at 02:50:45PM +0100, Wolfram Sang wrote:
>
> > > > + if (!ret)
> > > > + timeout = 1;
> > > > + else
> > > > + timeout = 0;
> > >
> > >
> > > nit: the following might be cleaner
> > >
> > > ret = !!timeout;
> > >
> >
> > Other way around, perhaps,
> >
> > timeout = !ret;
>
> I saw that but didn't want to modify this patch. But yes, this is easy
> enough and looks a lot better.
Thanks, I don't think this needs to block progress.
Powered by blists - more mailing lists