From: Jamie Iles Date: Fri, 21 Jan 2011 14:11:52 +0000 (+0000) Subject: dmaengine/dw_dmac: don't scan descriptors if no xfers in progress X-Git-Tag: v2.6.39-rc1~203^2~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=087809fce28f50098d9c3ef1a6865c722f23afd2;p=pandora-kernel.git dmaengine/dw_dmac: don't scan descriptors if no xfers in progress Some hardware (picoChip picoXCell in particular) sometimes has the block transfer complete bit being set for a channel after the whole transfer has completed. If we don't have any transfers in the active list then don't bother to scan the descriptors. This often happens in normal operation and doesn't require the channel to be reset. v2: cleanup whitespace Signed-off-by: Jamie Iles Signed-off-by: Dan Williams --- Reading git-diff-tree failed