]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: orion: spi: remove enable_clock_fix which is not used
authorAndrew Lunn <andrew@lunn.ch>
Tue, 6 Mar 2012 06:31:00 +0000 (07:31 +0100)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 Mar 2012 04:28:40 +0000 (04:28 +0000)
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-orion.c
include/linux/spi/orion_spi.h

index 13448c832c4420094afc5f57d8abd5a8b729ae7a..e496f799b7a9053326a1f68f82a67b49a36eaaea 100644 (file)
@@ -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;
index decf6d8c77b7fa7d3a297653708566bb0bdf9d95..b4d9fa6f797cdd4653334315664a86a27ec081f1 100644 (file)
@@ -11,7 +11,6 @@
 
 struct orion_spi_info {
        u32     tclk;           /* no <linux/clk.h> support yet */
-       u32     enable_clock_fix;
 };