diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-03-04 07:22:21 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-03-04 07:22:21 +0300 |
commit | dd58ffcf5a5352fc10820c8ffbcd5fed416a2c3a (patch) | |
tree | f36172b40f9f3fc2c646f70da40e01705399b6b8 /drivers/dma/ioat/dma_v2.c | |
parent | aa4d72ae946a4fa40486b871717778734184fa29 (diff) | |
parent | 56a5d3cf21c71963c8fc506e9b9d3f71641d9c71 (diff) | |
download | linux-dd58ffcf5a5352fc10820c8ffbcd5fed416a2c3a.tar.xz |
Merge branch 'coh' into dmaengine
Diffstat (limited to 'drivers/dma/ioat/dma_v2.c')
-rw-r--r-- | drivers/dma/ioat/dma_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c index 25a3c72b2941..1ed5d66d7dca 100644 --- a/drivers/dma/ioat/dma_v2.c +++ b/drivers/dma/ioat/dma_v2.c @@ -241,7 +241,7 @@ int ioat2_quiesce(struct ioat_chan_common *chan, unsigned long tmo) if (is_ioat_active(status) || is_ioat_idle(status)) ioat_suspend(chan); while (is_ioat_active(status) || is_ioat_idle(status)) { - if (end && time_after(jiffies, end)) { + if (tmo && time_after(jiffies, end)) { err = -ETIMEDOUT; break; } |