diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-01-27 12:37:44 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-30 22:03:47 -0800 |
commit | 8179661694595eb3a4f2ff9bb0b73acbb7d2f4a9 (patch) | |
tree | 5251a404b7b58f0486f422d3db333b2449e33e5c /drivers/watchdog/wafer5823wdt.c | |
parent | fb526210b2b961b5d590b89fd8f45c0ca5769688 (diff) | |
download | blackbird-op-linux-8179661694595eb3a4f2ff9bb0b73acbb7d2f4a9.tar.gz blackbird-op-linux-8179661694595eb3a4f2ff9bb0b73acbb7d2f4a9.zip |
DMA: PL08x: fix channel pausing to timeout rather than lockup
If a transfer is initiated from memory to a peripheral, then data is
fetched and the channel is marked busy. This busy status persists until
the HALT bit is set and the queued data has been transfered to the
peripheral. Waiting indefinitely after setting the HALT bit results in
system lockups. Timeout this operation, and print an error when this
happens.
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 'drivers/watchdog/wafer5823wdt.c')
0 files changed, 0 insertions, 0 deletions