Message ID | 4B9FA253.5030109@iis.fraunhofer.de (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
--- a/drivers/spi/atmel_spi.c +++ b/drivers/spi/atmel_spi.c @@ -501,7 +501,7 @@ atmel_spi_interrupt(int irq, void *dev_id) if (atmel_spi_xfer_is_last(msg, xfer)) { /* report completed message */ atmel_spi_msg_done(master, as, msg, 0, - xfer->cs_change); + !xfer->cs_change); } else { if (xfer->cs_change) { cs_deactivate(as, msg->spi);