summaryrefslogtreecommitdiffstats
path: root/drivers/dma/timb_dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@linux.intel.com>2012-03-13 11:58:12 +0530
committerVinod Koul <vinod.koul@linux.intel.com>2012-03-13 11:58:12 +0530
commit949ff5b8d46b5e3435d21b2651ce3a2599208d44 (patch)
treec8fac55a7ae33271acb1fc12f5399e5494b97b47 /drivers/dma/timb_dma.c
parent8867bd508f88eae8b9c54394f17422f49e387b26 (diff)
downloadtalos-obmc-linux-949ff5b8d46b5e3435d21b2651ce3a2599208d44.tar.gz
talos-obmc-linux-949ff5b8d46b5e3435d21b2651ce3a2599208d44.zip
dmaengine: fix for cookie changes and merge
Fixed trivial issues in drivers: drivers/dma/imx-sdma.c drivers/dma/intel_mid_dma.c drivers/dma/ioat/dma_v3.c drivers/dma/iop-adma.c drivers/dma/sirf-dma.c drivers/dma/timb_dma.c Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/timb_dma.c')
-rw-r--r--drivers/dma/timb_dma.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 7805996661b8..d408c2206023 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -510,17 +510,13 @@ static void td_free_chan_resources(struct dma_chan *chan)
static enum dma_status td_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
struct dma_tx_state *txstate)
{
- struct timb_dma_chan *td_chan =
- container_of(chan, struct timb_dma_chan, chan);
enum dma_status ret;
dev_dbg(chan2dev(chan), "%s: Entry\n", __func__);
ret = dma_cookie_status(chan, cookie, txstate);
- dev_dbg(chan2dev(chan),
- "%s: exit, ret: %d, last_complete: %d, last_used: %d\n",
- __func__, ret, last_complete, last_used);
+ dev_dbg(chan2dev(chan), "%s: exit, ret: %d\n", __func__, ret);
return ret;
}
OpenPOWER on IntegriCloud