From: Haavard Skinnemoen Date: Tue, 6 Jan 2009 22:41:43 +0000 (-0800) Subject: spi: atmel_spi update chipselect handling X-Git-Tag: v2.6.29-rc1~320 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ee36c989831ab720eee282521462cce0a3c4900;p=pandora-kernel.git spi: atmel_spi update chipselect handling This solves several issues: * It fixes the wrong idle clock polarity issue in a cleaner and less expensive way. * It handles the AT32AP7000 errata "SPI Chip Select 0 BITS field overrides other Chip Selects". Other chips, e.g. AT91SAM9261, have similar issues. Currently, the AT91RM9200 code path is left alone. But it might be interesting to try the same technique on RM9200 using a different CSR register. [dbrownell@users.sourceforge.net: restore debug message for activation] Signed-off-by: Haavard Skinnemoen Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed