diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-01-12 17:39:10 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-15 03:54:44 +0300 |
commit | dda36f9821321edf65d69da5c0807df7e73d26fc (patch) | |
tree | 2a629da4c1650c11bb0b1783317fbda0a1799ec6 /include/linux/rwsem-spinlock.h | |
parent | 568f7f0c2e597671d3e646e0b85c95c4a5756fef (diff) | |
download | linux-dda36f9821321edf65d69da5c0807df7e73d26fc.tar.xz |
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>
Diffstat (limited to 'include/linux/rwsem-spinlock.h')
0 files changed, 0 insertions, 0 deletions