mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ARM: orion: spi: remove enable_clock_fix which is not used
Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]> Acked-by: Grant Likely <[email protected]>
This commit is contained in:
parent
2eed4e7d86
commit
d34b7d4523
2 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue