commit | dda36f9821321edf65d69da5c0807df7e73d26fc | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@atmel.com> | Wed Jan 12 15:39:10 2011 +0100 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Jan 14 16:54:44 2011 -0800 |
tree | 2a629da4c1650c11bb0b1783317fbda0a1799ec6 | |
parent | 568f7f0c2e597671d3e646e0b85c95c4a5756fef [diff] |
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 <nicolas.ferre@atmel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>