From: Barry Song Date: Wed, 17 Jun 2009 10:10:53 +0000 (+0000) Subject: spi/bfin_spi: fix CS handling X-Git-Tag: v2.6.37-rc1~187^2~2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8221610e9990e7ee542a4e508d278302af8a9e75;p=pandora-kernel.git spi/bfin_spi: fix CS handling The CS helper functions were toggling both the Flag Enable and the Flag Value bits, but the Flag Value bit is ignored if the corresponding Flag Enable bit is cleared. So under high speed transactions, the CS sometimes would not toggle properly. Since it makes no sense to toggle the Flag Enable bit dynamically when we actually want to control the Flag Value, do this when setting up the device and then only handle toggling of the CS value during runtime. Signed-off-by: Barry Song Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed