Skip to content

Commit

Permalink
ARM: orion: spi: remove enable_clock_fix which is not used
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Andrew Lunn authored and Jason Cooper committed Mar 16, 2012
1 parent 2eed4e7 commit d34b7d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions drivers/spi/spi-orion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion include/linux/spi/orion_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

struct orion_spi_info {
u32 tclk; /* no <linux/clk.h> support yet */
u32 enable_clock_fix;
};


Expand Down

0 comments on commit d34b7d4

Please sign in to comment.