|
@@ -815,7 +815,7 @@ atc_is_tx_complete(struct dma_chan *chan,
|
|
|
dev_vdbg(chan2dev(chan), "is_tx_complete: %d (d%d, u%d)\n",
|
|
|
cookie, done ? *done : 0, used ? *used : 0);
|
|
|
|
|
|
- spin_lock_bh(atchan->lock);
|
|
|
+ spin_lock_bh(&atchan->lock);
|
|
|
|
|
|
last_complete = atchan->completed_cookie;
|
|
|
last_used = chan->cookie;
|
|
@@ -830,7 +830,7 @@ atc_is_tx_complete(struct dma_chan *chan,
|
|
|
ret = dma_async_is_complete(cookie, last_complete, last_used);
|
|
|
}
|
|
|
|
|
|
- spin_unlock_bh(atchan->lock);
|
|
|
+ spin_unlock_bh(&atchan->lock);
|
|
|
|
|
|
if (done)
|
|
|
*done = last_complete;
|