[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZenYewP2VXJphOJP@smile.fi.intel.com>
Date: Thu, 7 Mar 2024 17:08:43 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 3/3] spi: Fix multiple issues with Chip Select
variables and comments
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
Powered by blists - more mailing lists