Skip to content
Commit f9cfd522 authored by Addy Ke's avatar Addy Ke Committed by Mark Brown
Browse files

spi/rockchip: fix bug that case spi can't go as fast as slave request



Because the minimum divisor in rk3x's spi controller is 2,
if spi_clk is less than 2 * sclk_out, we can't get the right divisor.
So we must set spi_clk again to match slave request.

Signed-off-by: default avatarAddy Ke <addy.ke@rock-chips.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a2285b8c
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