spi: McSPI saves CHCONFx too
commit89c05372d08f3982eeb94d1ea22a60a5eaa8cd6d
authorTero Kristo <tero.kristo@nokia.com>
Tue, 22 Sep 2009 23:46:17 +0000 (22 16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:44 +0000 (23 07:39 -0700)
treede8793013684032d7de9a8dbada5f466de18bf23
parenta41ae1ad907655b2efbb9b1a97736ab1451e1649
spi: McSPI saves CHCONFx too

Previous restore was lazy and only restored CHxCONF when it was needed by
a specific chip select.  This could cause occasional errors on an SPI bus
where multiple chip selects are in use.

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
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>
drivers/spi/omap2_mcspi.c