summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-06-17 10:10:53 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-18 02:49:30 -0400
commit8221610e9990e7ee542a4e508d278302af8a9e75 (patch)
treec08fca285205f621061adbb95f876cecd6700157 /arch
parentf6a6d96685be6e784849d067b44acb831f595417 (diff)
downloadtalos-obmc-linux-8221610e9990e7ee542a4e508d278302af8a9e75.tar.gz
talos-obmc-linux-8221610e9990e7ee542a4e508d278302af8a9e75.zip
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 <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud