From: Feng Tang Date: Tue, 7 Sep 2010 07:52:06 +0000 (+0800) Subject: spi/dw_spi: clean the cs_control code X-Git-Tag: v2.6.36-rc5~44^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e55ff5854655d8723ad8b307f02515aecc3df5;p=pandora-kernel.git spi/dw_spi: clean the cs_control code commit 052dc7c45i "spi/dw_spi: conditional transfer mode change" introduced cs_control code, which has a bug by using bit offset for spi mode to set transfer mode in control register. Also it forces devices who don't need cs_control to re-configure the control registers for each spi transfer. This patch will fix them Signed-off-by: Feng Tang Signed-off-by: Grant Likely --- Reading git-diff-tree failed