diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-26 11:58:15 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-01 09:15:37 -0400 |
commit | 48afb3112e6373a292e54d675e986a5da14c0516 (patch) | |
tree | 981a0dd9c009cded9801fa04e4b15b441bf45ef1 /drivers/dma | |
parent | c15a6ef6ea3ff06df2d532d314f85da48cb067e8 (diff) |
dmaengine: PL08x: remove circular_buffer boolean from channel data
Circular buffers are not handled in this way; we have a separate API
call now to setup circular buffers. So lets not mislead people with
this bool.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/amba-pl08x.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 9c5bae6f85b5..5821125f0458 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c | |||
@@ -1701,13 +1701,6 @@ static int pl08x_dma_init_virtual_channels(struct pl08x_driver_data *pl08x, | |||
1701 | return -ENOMEM; | 1701 | return -ENOMEM; |
1702 | } | 1702 | } |
1703 | } | 1703 | } |
1704 | if (chan->cd->circular_buffer) { | ||
1705 | dev_err(&pl08x->adev->dev, | ||
1706 | "channel %s: circular buffers not supported\n", | ||
1707 | chan->name); | ||
1708 | kfree(chan); | ||
1709 | continue; | ||
1710 | } | ||
1711 | dev_dbg(&pl08x->adev->dev, | 1704 | dev_dbg(&pl08x->adev->dev, |
1712 | "initialize virtual channel \"%s\"\n", | 1705 | "initialize virtual channel \"%s\"\n", |
1713 | chan->name); | 1706 | chan->name); |