spi/bfin_spi: save/restore state when suspending/resuming
authorBarry Song <barry.song@analog.com>
Wed, 18 Nov 2009 09:43:21 +0000 (09:43 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:37 +0000 (02:49 -0400)
commitb052fd0a44354c655eb98fd715ef52857631dfef
tree31f852bed15cd4ab35c9e4932476ca58d928d3d2
parentd3cc71f71ae13596cb988e16bfa2b15f09fb7347
spi/bfin_spi: save/restore state when suspending/resuming

We can't rely on the SPI_CTL/SPI_FLG registers retaining their state when
suspending, so save/restore their entire values.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/spi_bfin5xx.c