commit | f9cfd52262d36a55b39d41e2b0faae632ad57e4c | [log] [tgz] |
---|---|---|
author | Addy Ke <addy.ke@rock-chips.com> | Wed Oct 15 19:25:49 2014 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Oct 15 15:05:38 2014 +0200 |
tree | 751cc7e24e8abbc0374a71077ad438f2b99e256f | |
parent | a2285b8c75bf7e21895f7c2cf75d6a910914517b [diff] |
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: Addy Ke <addy.ke@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>