diff options
author | 2011-01-12 15:39:10 +0100 | |
---|---|---|
committer | 2011-01-14 16:54:44 -0800 | |
commit | dda36f9821321edf65d69da5c0807df7e73d26fc (patch) | |
tree | 2a629da4c1650c11bb0b1783317fbda0a1799ec6 /include/linux/dmaengine.h | |
parent | dmaengine: at_hdmac: flags located in first descriptor (diff) | |
download | wireguard-linux-dda36f9821321edf65d69da5c0807df7e73d26fc.tar.xz wireguard-linux-dda36f9821321edf65d69da5c0807df7e73d26fc.zip |
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/dmaengine.h')
0 files changed, 0 insertions, 0 deletions