linux-stable/include/linux/spi
Andy Shevchenko 14fe5a98fb
spi: Fix types of the last chip select storage variables
First of all, last_cs_index_mask should be aligned with the original
cs_index_mask, which is 16-bit (for now) wide. Use the same pattern
for the last_cs_index_mask.

Second, last_cs can be negative and since 'char' is equal to 'unsigned
char' in the kernel, it's incorrect, strictly speaking, to assign
signed number to it. Use s8 type as it's done for *_native_cs ones.

With this change, regroup a bit the ordering to avoid too much memory
space to be wasted due to paddings. Shuffle kernel documentation
accordignly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240307150256.3789138-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-03-07 15:07:10 +00:00
..
ad7877.h
ads7846.h
altera.h
at73c213.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
libertas_spi.h
max7301.h
mc33880.h
mmc_spi.h
mxs-spi.h
pxa2xx_spi.h spi: pxa2xx: Use typedef for dma_filter_fn 2024-02-08 21:23:42 +00:00
rspi.h
sh_hspi.h
sh_msiof.h spi: sh-msiof: switch to use modern name 2023-08-21 14:29:35 +01:00
spi-fsl-dspi.h
spi-mem.h spi: Unify error codes by replacing -ENOTSUPP with -EOPNOTSUPP 2023-11-30 12:12:39 +00:00
spi.h spi: Fix types of the last chip select storage variables 2024-03-07 15:07:10 +00:00
spi_bitbang.h spi: bitbang: Follow renaming of SPI "master" to "controller" 2024-02-08 11:54:48 +00:00
spi_gpio.h spi: gpio: Follow renaming of SPI "master" to "controller" 2024-02-09 17:26:34 +00:00
spi_oc_tiny.h
tdo24m.h
tle62x0.h
xilinx_spi.h