提交 0dbe70a1 编写于 作者: A Andi Shyti 提交者: Mark Brown

spi: s3c64xx: restore removed comments

Patch a9e93e8 has erroneously removed some comments which are
important to understand why the bus frequency is multiplied by
two during the spi transfer.

Reword the previous comment to a more appropriate message.
Suggested-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: NAndi Shyti <andi.shyti@samsung.com>
Reviewed-by: NMichael Turquette <mturquette@baylibre.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 7990b008
...@@ -642,6 +642,7 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd) ...@@ -642,6 +642,7 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd)
writel(val, regs + S3C64XX_SPI_MODE_CFG); writel(val, regs + S3C64XX_SPI_MODE_CFG);
if (sdd->port_conf->clk_from_cmu) { if (sdd->port_conf->clk_from_cmu) {
/* The src_clk clock is divided internally by 2 */
clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); clk_set_rate(sdd->src_clk, sdd->cur_speed * 2);
} else { } else {
/* Configure Clock */ /* Configure Clock */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册