diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-05-24 11:30:17 +0200 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-05-24 11:30:17 +0200 |
commit | 2a5f857291c3ab594873fcf3ada88bcc98465739 (patch) | |
tree | 8bd764f197a6ad970101dc269bcf21e48387750d /include | |
parent | 7dadf88f8d4ea2a582348dc00860979059f7bcb0 (diff) | |
parent | 924b5867e7bd6a6a98014f0517b747465b108011 (diff) | |
download | linux-stable-2a5f857291c3ab594873fcf3ada88bcc98465739.tar.gz linux-stable-2a5f857291c3ab594873fcf3ada88bcc98465739.tar.bz2 linux-stable-2a5f857291c3ab594873fcf3ada88bcc98465739.zip |
Merge tag 'spi-rt-pump' into chrome-platform/for-next
Immutable branch between spi and chrome-platform for driver changes to
allow setting spi pump to RT priority.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 053abd22ad31..15505c2485d6 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -109,6 +109,7 @@ void spi_statistics_add_transfer_stats(struct spi_statistics *stats, * This may be changed by the device's driver, or left at the * default (0) indicating protocol words are eight bit bytes. * The spi_transfer.bits_per_word can override this for each transfer. + * @rt: Make the pump thread real time priority. * @irq: Negative, or the number passed to request_irq() to receive * interrupts from this device. * @controller_state: Controller's runtime state @@ -143,6 +144,7 @@ struct spi_device { u32 max_speed_hz; u8 chip_select; u8 bits_per_word; + bool rt; u32 mode; #define SPI_CPHA 0x01 /* clock phase */ #define SPI_CPOL 0x02 /* clock polarity */ |