projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773d9e2
)
ioat3: use ioat2_quiesce()
author
Dan Williams
<
[email protected]
>
Wed, 3 Mar 2010 18:47:42 +0000
(11:47 -0700)
committer
Dan Williams
<
[email protected]
>
Wed, 3 Mar 2010 18:47:42 +0000
(11:47 -0700)
Replace open coded ioat2_quiesce() call in ioat3_restart_channel
Signed-off-by: Dan Williams <
[email protected]
>
drivers/dma/ioat/dma_v3.c
patch
|
blob
|
history
diff --git
a/drivers/dma/ioat/dma_v3.c
b/drivers/dma/ioat/dma_v3.c
index f270fa11275bbd52f467e4ba1871633c1b3fb5f4..bff48e8cffc43343b4a0665840b269bfc0cec768 100644
(file)
--- a/
drivers/dma/ioat/dma_v3.c
+++ b/
drivers/dma/ioat/dma_v3.c
@@
-341,16
+341,8
@@
static void ioat3_restart_channel(struct ioat2_dma_chan *ioat)
{
struct ioat_chan_common *chan = &ioat->base;
unsigned long phys_complete;
- u32 status;
-
- status = ioat_chansts(chan);
- if (is_ioat_active(status) || is_ioat_idle(status))
- ioat_suspend(chan);
- while (is_ioat_active(status) || is_ioat_idle(status)) {
- status = ioat_chansts(chan);
- cpu_relax();
- }
+ ioat2_quiesce(chan, 0);
if (ioat_cleanup_preamble(chan, &phys_complete))
__cleanup(ioat, phys_complete);