Re: [PATCH v2 5/5] i2c: designware: Support of controller with IC_EMPTYFIFO_HOLD_MASTER disabled
From: Andy Shevchenko
Date: Mon Nov 03 2025 - 08:25:39 EST
On Mon, Nov 03, 2025 at 11:43:30AM +0100, Mika Westerberg wrote:
> On Fri, Oct 31, 2025 at 03:35:43PM +0100, Benoît Monin wrote:
...
> > + return (msgs[idx - 1].flags & I2C_M_RD) == (msgs[idx].flags & I2C_M_RD);
>
> You don't need the outer parens.
Priority of == is 10, while & is 11.
--
With Best Regards,
Andy Shevchenko