431-spi-add-various-flags.patch 511 B

12345678910111213141516171819
  1. --- a/include/linux/spi/spi.h
  2. +++ b/include/linux/spi/spi.h
  3. @@ -519,6 +519,8 @@ struct spi_transfer {
  4. dma_addr_t rx_dma;
  5. unsigned cs_change:1;
  6. + unsigned verify:1;
  7. + unsigned fast_write:1;
  8. u8 bits_per_word;
  9. u16 delay_usecs;
  10. u32 speed_hz;
  11. @@ -560,6 +562,7 @@ struct spi_message {
  12. struct spi_device *spi;
  13. unsigned is_dma_mapped:1;
  14. + unsigned fast_read:1;
  15. /* REVISIT: we might want a flag affecting the behavior of the
  16. * last transfer ... allowing things like "read 16 bit length L"