aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-ath79.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c
index d4b8e1236612..a725e62dfa90 100644
--- a/drivers/spi/spi-ath79.c
+++ b/drivers/spi/spi-ath79.c
@@ -128,12 +128,6 @@ static int ath79_spi_setup_cs(struct spi_device *spi)
128 gpio_free(cdata->gpio); 128 gpio_free(cdata->gpio);
129 return status; 129 return status;
130 } 130 }
131 } else {
132 if (spi->mode & SPI_CS_HIGH)
133 sp->ioc_base |= AR71XX_SPI_IOC_CS0;
134 else
135 sp->ioc_base &= ~AR71XX_SPI_IOC_CS0;
136 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base);
137 } 131 }
138 132
139 return 0; 133 return 0;