]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: fix suspend/resume failure with some on-chip ROMs
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 20 Oct 2009 13:38:04 +0000 (13:38 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 Nov 2009 07:35:33 +0000 (02:35 -0500)
commit7b9cf8dfc03479b3ae6df9a526a6bd995d383c07
tree32390bee517934693940b5c502f3d241bbb3b770
parent39bfcc6c679da0ba40f9d186140a8bf7d4c73465
Blackfin: fix suspend/resume failure with some on-chip ROMs

Some Blackfin on-chip ROMs utilize some MDMA channels during the suspend
and resume process, but don't clean up after themselves.  So manually
clear all DMA channels when resuming since no DMA could have been running
at this point in time.  Now Linux should be able to work regardless of any
laziness on the part of the on-chip ROM or boot loader.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/bfin_dma_5xx.c