summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2008-12-01 13:13:53 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-01 19:55:24 -0800
commitb7d271df873c5121a4ca1c70dea126b5920ec2f1 (patch)
tree90274ea55692c718ce1e108619e369e34a945101 /fs
parentaaacf4bb51b243875b203e6ff73b5047636b4efa (diff)
downloadop-kernel-dev-b7d271df873c5121a4ca1c70dea126b5920ec2f1.zip
op-kernel-dev-b7d271df873c5121a4ca1c70dea126b5920ec2f1.tar.gz
spi: mpc52xx_psc_spi chipselect bugfix
According to the manual the "tdfOnExit" flag must be set on the last byte we want to send. The PSC controller holds SS low until the flag is set. However, the flag was set always on the last byte of the FIFO, independently if it is the last byte of the transfer. This generates spurious toggling of the SS signals that breaks the protocol of some peripherals. Fix. Signed-off-by: Stefano Babic <sbabic@denx.de> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud