summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-gpio.c
diff options
context:
space:
mode:
authorAddy Ke <addy.ke@rock-chips.com>2014-10-15 15:25:49 +0400
committerMark Brown <broonie@kernel.org>2014-10-15 17:05:38 +0400
commitf9cfd52262d36a55b39d41e2b0faae632ad57e4c (patch)
tree751cc7e24e8abbc0374a71077ad438f2b99e256f /drivers/spi/spi-gpio.c
parenta2285b8c75bf7e21895f7c2cf75d6a910914517b (diff)
downloadlinux-f9cfd52262d36a55b39d41e2b0faae632ad57e4c.tar.xz
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>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions