From: Stefano Babic Date: Mon, 1 Dec 2008 21:13:53 +0000 (-0800) Subject: spi: mpc52xx_psc_spi chipselect bugfix X-Git-Tag: v2.6.28-rc7~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7d271df873c5121a4ca1c70dea126b5920ec2f1;p=pandora-kernel.git 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 Acked-by: Grant Likely Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed