Re: [PATCH v1 3/3] spi: Fix multiple issues with Chip Select variables and comments

From: Andy Shevchenko
Date: Thu Mar 07 2024 - 10:08:57 EST


On Wed, Mar 06, 2024 at 10:12:06PM +0200, Andy Shevchenko wrote:
> On Wed, Mar 06, 2024 at 06:08:43PM +0000, Mark Brown wrote:
> > On Wed, Mar 06, 2024 at 05:59:42PM +0200, Andy Shevchenko wrote:
> > > There are the following issues with the current code:
> > > - inconsistent use of 0xFF and -1 for invalid chip select pin
> > > - inconsistent plain or BIT() use
> > > - wrong types used for last_cs_* fields
> > > - wrong multi-line comment style
> > > - misleading or hard-to-understand comments
> > >
> > > Fix all of these here.
> >
> > Please don't do this, as covered in submitting-patches.rst submit one
> > change per patch. This makes it much easier to review things.
>
> Fine by me, consider this patch as RFC to understand if we want to have this
> or not in general. I will rework it, if the idea is acceptable.

I have sent a new series where I split this to three patches (and excluded
the rest for now).


--
With Best Regards,
Andy Shevchenko