Unverified Commit e3f209e2 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mark Brown
Browse files

spi: pxa2xx: Make num_chipselect 8-bit in the struct pxa2xx_spi_controller



There is no use for whole 16-bit for the number of chip select pins.
Drop it to 8 bits.

Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240307195056.4059864-3-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7fd54c20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ arch/.../mach-*/board-*.c as a "platform device". The host controller configurat
is passed to the driver via a table found in include/linux/spi/pxa2xx_spi.h::

  struct pxa2xx_spi_controller {
	u16 num_chipselect;
	u8 num_chipselect;
	u8 enable_dma;
	...
  };
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ struct dma_chan;
 * (resides in device.platform_data).
 */
struct pxa2xx_spi_controller {
	u16 num_chipselect;
	u8 num_chipselect;
	u8 enable_dma;
	u8 dma_burst_size;
	bool is_target;