Home
last modified time | relevance | path

Searched hist:f9cfd52262d36a55b39d41e2b0faae632ad57e4c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-rockchip.cdiff f9cfd52262d36a55b39d41e2b0faae632ad57e4c Wed Oct 15 06:25:49 CDT 2014 Addy Ke <addy.ke@rock-chips.com> 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>