]> git.baikalelectronics.ru Git - kernel.git/commit
spi: McSPI saves CHCONFx too
authorTero Kristo <tero.kristo@nokia.com>
Tue, 22 Sep 2009 23:46:17 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:44 +0000 (07:39 -0700)
commit4ee556bdb80224bb040250666d63e77d90972715
treede8793013684032d7de9a8dbada5f466de18bf23
parent6d8fe0a1910ca6adfcc4054e3a6244fbb143ba80
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