On Thu, Feb 20, 2020 at 07:11:22AM +0100, Lukas Wunner wrote: > - if (spi->mode & SPI_CS_HIGH) > + if (spi->mode & SPI_CS_HIGH && !(ctlr->use_gpio_descriptors && > + ctlr->cs_gpiods && > + ctlr->cs_gpiods[spi->chip_select])) > enable = !enable; Sorry, I meant (spi->mode & SPI_CS_HIGH || (ctlr->...) ^^^^