Commit bb51537a authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mark Brown

spi: rockchip: Spelling s/divsor/divisor/

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c508709b
...@@ -527,7 +527,7 @@ static void rockchip_spi_config(struct rockchip_spi *rs) ...@@ -527,7 +527,7 @@ static void rockchip_spi_config(struct rockchip_spi *rs)
if (WARN_ON(rs->speed > MAX_SCLK_OUT)) if (WARN_ON(rs->speed > MAX_SCLK_OUT))
rs->speed = MAX_SCLK_OUT; rs->speed = MAX_SCLK_OUT;
/* the minimum divsor is 2 */ /* the minimum divisor is 2 */
if (rs->max_freq < 2 * rs->speed) { if (rs->max_freq < 2 * rs->speed) {
clk_set_rate(rs->spiclk, 2 * rs->speed); clk_set_rate(rs->spiclk, 2 * rs->speed);
rs->max_freq = clk_get_rate(rs->spiclk); rs->max_freq = clk_get_rate(rs->spiclk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment