diff options
author | Mark Brown <broonie@kernel.org> | 2018-07-18 13:24:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-18 13:24:54 +0100 |
commit | b86d77123c6e1ecc102aa49c2378999737092891 (patch) | |
tree | 974a88da29c12bcd31dccbfcd6ea91d83a2b1e73 /drivers/spi/spi-dw.h | |
parent | 5f8f80356eccfaae1db8a827626ae4fc2eb62831 (diff) | |
parent | 62dbbae483b6452e688b8e26c4d024d484117697 (diff) |
Merge tag 'spi-dw-set-cs' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-4.19
spi: dw: Allow custom set_cs_callback
Allow platform specific drivers to provide their own set_cs callback when
the IP integration requires it.
Diffstat (limited to 'drivers/spi/spi-dw.h')
-rw-r--r-- | drivers/spi/spi-dw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index 2cde2473b3e9..446013022849 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -112,6 +112,7 @@ struct dw_spi { u32 reg_io_width; /* DR I/O width in bytes */ u16 bus_num; u16 num_cs; /* supported slave numbers */ + void (*set_cs)(struct spi_device *spi, bool enable); /* Current message transfer state info */ size_t len; |