diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-10 02:18:12 +0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 08:14:18 +0300 |
commit | d2e015d65fc692475b8513259d6afacd2cded8e8 (patch) | |
tree | e296f8daa8a7ba957d0ae080c71212f77172d382 /arch/blackfin/mach-bf561/coreb.c | |
parent | adfc046740b4161cbb1f0a3ea0d4200e21113489 (diff) | |
download | linux-d2e015d65fc692475b8513259d6afacd2cded8e8.tar.xz |
Blackfin: convert DMA mutex to an atomic and drop redundant code
The DMA channel status field was encoding redundant info wrt the DMA MMR
config register, and it was doing an incomplete job of checking all DMA
channels (some drivers write directly to the config register). So drop
the tristate field in favor of a binary atomic field. This simplifies
the code in general, removes the implicit need for sleeping, and forces
the suspend code to handle all channels properly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/coreb.c')
0 files changed, 0 insertions, 0 deletions