diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-01-03 22:45:17 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-04 19:16:14 -0800 |
commit | 8087aacda040bdbf84940712d132ce80c30b9d5d (patch) | |
tree | 3a59272bc4555eae854a012940a36f80a8f4c1a5 /include/linux/amba/bus.h | |
parent | 501e67e82dee68d0a594ec0549f3d6a2943c91f5 (diff) |
ARM: PL08x: introduce 'phychan_hold' to hold on to physical channels
Introduce 'phychan_hold' to hold on to physical DMA channels while we're
preparing a new descriptor for it. This will be incremented when we
allocate a physical channel and set the MUX registers during the
preparation of the TXD, and will only be decremented when the TXD is
submitted.
This prevents the physical channel being given up before the new TXD
is placed on the queue.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/amba/bus.h')
0 files changed, 0 insertions, 0 deletions