From: Addy Ke Date: Wed, 15 Oct 2014 11:25:49 +0000 (+0800) Subject: spi/rockchip: fix bug that case spi can't go as fast as slave request X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~50^2^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9cfd52262d36a55b39d41e2b0faae632ad57e4c;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed