summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-orion.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-03-06 07:31:00 +0100
committerJason Cooper <jason@lakedaemon.net>2012-03-16 04:28:40 +0000
commitd34b7d452397d16a895b9a0eddcf6b69f46074d2 (patch)
treebc4f702872812aada09313bf5f89bb7cdbfeab74 /drivers/spi/spi-orion.c
parent2eed4e7d8631d8404fdef9c09d26a48376186ad1 (diff)
downloadop-kernel-dev-d34b7d452397d16a895b9a0eddcf6b69f46074d2.zip
op-kernel-dev-d34b7d452397d16a895b9a0eddcf6b69f46074d2.tar.gz
ARM: orion: spi: remove enable_clock_fix which is not used
Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-orion.c')
-rw-r--r--drivers/spi/spi-orion.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/spi-orion.c b/drivers/spi/spi-orion.c
index 13448c8..e496f79 100644
--- a/drivers/spi/spi-orion.c
+++ b/drivers/spi/spi-orion.c
@@ -359,11 +359,6 @@ static int orion_spi_setup(struct spi_device *spi)
orion_spi = spi_master_get_devdata(spi->master);
- /* Fix ac timing if required. */
- if (orion_spi->spi_info->enable_clock_fix)
- orion_spi_setbits(orion_spi, ORION_SPI_IF_CONFIG_REG,
- (1 << 14));
-
if ((spi->max_speed_hz == 0)
|| (spi->max_speed_hz > orion_spi->max_speed))
spi->max_speed_hz = orion_spi->max_speed;
OpenPOWER on IntegriCloud