summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2020-09-20 14:28:45 +0300
committerMark Brown <broonie@kernel.org>2020-09-29 17:22:20 +0100
commit07918df724f2fed02327e3cbfe58a5d5568b2cc2 (patch)
tree6c5ace2c50ae5c0bc378e858bb27f1adcb43b75d /drivers
parent0e9683659c6926fd3f30345f9f58893e630379ed (diff)
downloadlinux-stable-07918df724f2fed02327e3cbfe58a5d5568b2cc2.tar.gz
linux-stable-07918df724f2fed02327e3cbfe58a5d5568b2cc2.tar.bz2
linux-stable-07918df724f2fed02327e3cbfe58a5d5568b2cc2.zip
spi: dw: Discard IRQ threshold macro
The macro has been unused since a half of FIFO length was defined to be a marker of the IRQ. Let's remove it definition. Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Link: https://lore.kernel.org/r/20200920112914.26501-2-Sergey.Semin@baikalelectronics.ru Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-dw.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h
index 90dfd21622d6..51bab30b9f85 100644
--- a/drivers/spi/spi-dw.h
+++ b/drivers/spi/spi-dw.h
@@ -92,9 +92,6 @@
#define SPI_DMA_RDMAE (1 << 0)
#define SPI_DMA_TDMAE (1 << 1)
-/* TX RX interrupt level threshold, max can be 256 */
-#define SPI_INT_THRESHOLD 32
-
enum dw_ssi_type {
SSI_MOTO_SPI = 0,
SSI_TI_SSP,