From 5ee36c989831ab720eee282521462cce0a3c4900 Mon Sep 17 00:00:00 2001 From: Haavard Skinnemoen Date: Tue, 6 Jan 2009 14:41:43 -0800 Subject: [PATCH] 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-format-patch failed