Messages in this thread | | | Date | Wed, 27 Mar 2019 14:50:45 +0100 | From | Wolfram Sang <> | Subject | Re: [RFC PATCH v2 5/7] i2c: busses: omap: Add the master_xfer_irqless hook |
| |
> > > + 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.
[unhandled content-type:application/pgp-signature]
| |