summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2021-11-17 14:31:08 +0100
committerMark Brown <broonie@kernel.org>2021-11-18 14:57:57 +0100
commit61f6e38ae8b6cbe140cfd320b3003a52147edef0 (patch)
treee04352d40f4e5532a86a46eb6d45f16f51781380 /drivers/spi
parentspi: hisi-kunpeng: Fix the debugfs directory name incorrect (diff)
downloadlinux-61f6e38ae8b6cbe140cfd320b3003a52147edef0.tar.xz
linux-61f6e38ae8b6cbe140cfd320b3003a52147edef0.zip
spi: qcom: geni: remove unused defines
Commit b59c122484ec ("spi: spi-geni-qcom: Add support for GPI dma") added GPI support but also added unused defines, so remove them Signed-off-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20211117133110.2682631-1-vkoul@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-geni-qcom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index e2affaee4e76..413fa1a7a936 100644
--- a/drivers/spi/spi-geni-qcom.c
+++ b/drivers/spi/spi-geni-qcom.c
@@ -71,10 +71,6 @@
#define GSI_CPHA BIT(4)
#define GSI_CPOL BIT(5)
-#define MAX_TX_SG 3
-#define NUM_SPI_XFER 8
-#define SPI_XFER_TIMEOUT_MS 250
-
struct spi_geni_master {
struct geni_se se;
struct device *dev;