commit | 148da331200a0df8195e10eb8a38fd77bd7003af | [log] [tgz] |
---|---|---|
author | Daniel Ribeiro <drwyrm@gmail.com> | Tue Apr 21 12:24:43 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 21 13:41:49 2009 -0700 |
tree | 73c24340fe39aa12fa9a31997ace8ce95448bc68 | |
parent | aa0b8f3687f06ac0e5a2b24547fdf431e923c475 [diff] |
pxa2xx_spi: restore DRCMR on resume If DMA is enabled, any spi_sync call after suspend/resume would block forever, because DRCMR is lost on suspend. This patch restores DRCMR to the same values set by probe. Signed-off-by: Daniel Ribeiro <drwyrm@gmail.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>