diff options
-rw-r--r-- | drivers/dma/amba-pl08x.c | 7 | ||||
-rw-r--r-- | include/linux/amba/pl08x.h | 4 |
2 files changed, 0 insertions, 11 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); |
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index 02549017212a..0f5b34d668b6 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h | |||
@@ -51,9 +51,6 @@ enum { | |||
51 | * can be the address of a FIFO register for burst requests for example. | 51 | * can be the address of a FIFO register for burst requests for example. |
52 | * This can be left undefined if the PrimeCell API is used for configuring | 52 | * This can be left undefined if the PrimeCell API is used for configuring |
53 | * this. | 53 | * this. |
54 | * @circular_buffer: whether the buffer passed in is circular and | ||
55 | * shall simply be looped round round (like a record baby round | ||
56 | * round round round) | ||
57 | * @single: the device connected to this channel will request single DMA | 54 | * @single: the device connected to this channel will request single DMA |
58 | * transfers, not bursts. (Bursts are default.) | 55 | * transfers, not bursts. (Bursts are default.) |
59 | * @periph_buses: the device connected to this channel is accessible via | 56 | * @periph_buses: the device connected to this channel is accessible via |
@@ -66,7 +63,6 @@ struct pl08x_channel_data { | |||
66 | u32 muxval; | 63 | u32 muxval; |
67 | u32 cctl; | 64 | u32 cctl; |
68 | dma_addr_t addr; | 65 | dma_addr_t addr; |
69 | bool circular_buffer; | ||
70 | bool single; | 66 | bool single; |
71 | u8 periph_buses; | 67 | u8 periph_buses; |
72 | }; | 68 | }; |