On Tue, Sep 4, 2018 at 10:47 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: Ah > > > + if (spi->mode & SPI_CONTROLLER_HALF_DUPLEX) { Hm that should have rather been flags... not spi->mode. OK I think I have the patch in a better state now. Bear with me. Yours, Linus Walleij