“9a02bd419c89c79c4c890d52b3ae77d771ec8cdd”上不存在“paddle/git@gitcode.net:paddlepaddle/Paddle.git”
提交 d34b7d45 编写于 作者: A Andrew Lunn 提交者: Jason Cooper

ARM: orion: spi: remove enable_clock_fix which is not used

Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
Signed-off-by: NJason Cooper <jason@lakedaemon.net>
Acked-by: NGrant Likely <grant.likely@secretlab.ca>
上级 2eed4e7d
...@@ -359,11 +359,6 @@ static int orion_spi_setup(struct spi_device *spi) ...@@ -359,11 +359,6 @@ static int orion_spi_setup(struct spi_device *spi)
orion_spi = spi_master_get_devdata(spi->master); 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) if ((spi->max_speed_hz == 0)
|| (spi->max_speed_hz > orion_spi->max_speed)) || (spi->max_speed_hz > orion_spi->max_speed))
spi->max_speed_hz = orion_spi->max_speed; spi->max_speed_hz = orion_spi->max_speed;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
struct orion_spi_info { struct orion_spi_info {
u32 tclk; /* no <linux/clk.h> support yet */ u32 tclk; /* no <linux/clk.h> support yet */
u32 enable_clock_fix;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册