[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7cadfe452f614e92be81d01111203a54@AcuMS.aculab.com>
Date: Wed, 24 Jan 2024 14:35:45 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Jonas Gorski' <jonas.gorski@...il.com>, Guenter Roeck
<linux@...ck-us.net>
CC: Mark Brown <broonie@...nel.org>, Christophe Leroy
<christophe.leroy@...roup.eu>, Herve Codina <herve.codina@...tlin.com>, "Amit
Kumar Mahapatra" <amit.kumar-mahapatra@....com>, "linux-spi@...r.kernel.org"
<linux-spi@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, Thomas Petazzoni
<thomas.petazzoni@...tlin.com>
Subject: RE: [PATCH] spi: Raise limit on number of chip selects
...
> For some reason we don't store neither the actual number of supported
> parallel chipselects in the controller, nor the amount of chipselects
> used by the spi device, so all loops always need to iterate
> SPI_CS_CNT_MAX times and check for the chipselect numbers not being
> 0xff instead of limiting by the (possible to know) actual number of
> chip selects in use.
Or even the highest one ever used.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists