From: Mike Frysinger Date: Fri, 9 Oct 2009 22:18:12 +0000 (+0000) Subject: Blackfin: convert DMA mutex to an atomic and drop redundant code X-Git-Tag: v2.6.33-rc1~53^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2e015d65fc692475b8513259d6afacd2cded8e8;p=pandora-kernel.git 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 --- Reading git-diff-tree failed