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. If you are fine on the first two, perhaps they can be applied first. -- With Best Regards, Andy Shevchenko