On Thu, 2020-01-09 at 13:23 +0100, Lukas Wunner wrote: > The "RevPi Connect Flat" PLC offered by KUNBUS has 4 slaves attached > to the BCM2835 SPI master. Raise the maximum number of slaves in the > driver accordingly. > > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> > --- Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx> Thanks! > drivers/spi/spi-bcm2835.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c > index b784c9fdf9ec..11c235879bb7 100644 > --- a/drivers/spi/spi-bcm2835.c > +++ b/drivers/spi/spi-bcm2835.c > @@ -68,7 +68,7 @@ > #define BCM2835_SPI_FIFO_SIZE 64 > #define BCM2835_SPI_FIFO_SIZE_3_4 48 > #define BCM2835_SPI_DMA_MIN_LENGTH 96 > -#define BCM2835_SPI_NUM_CS 3 /* raise as necessary */ > +#define BCM2835_SPI_NUM_CS 4 /* raise as necessary */ > #define BCM2835_SPI_MODE_BITS (SPI_CPOL | SPI_CPHA | SPI_CS_HIGH \ > | SPI_NO_CS | SPI_3WIRE) >
Attachment:
signature.asc
Description: This is a digitally signed message part