From: Nicolas Ferre Date: Wed, 12 Jan 2011 14:39:10 +0000 (+0100) Subject: dmaengine: at_hdmac: fix race while monitoring channel status X-Git-Tag: v2.6.38-rc1~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda36f9821321edf65d69da5c0807df7e73d26fc;p=pandora-kernel.git dmaengine: at_hdmac: fix race while monitoring channel status We were reading channel status then taking a lock. This lead to a race because this lock may delay us and then make this channel not idle anymore. Signed-off-by: Nicolas Ferre Signed-off-by: Dan Williams --- Reading git-diff-tree failed