diff options
Diffstat (limited to 'drivers/dma/dw_dmac.c')
-rw-r--r-- | drivers/dma/dw_dmac.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index e5d97bf9264a..711ebe954f5b 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c | |||
@@ -47,14 +47,13 @@ | |||
47 | 47 | ||
48 | /* | 48 | /* |
49 | * This is configuration-dependent and usually a funny size like 4095. | 49 | * This is configuration-dependent and usually a funny size like 4095. |
50 | * Let's round it down to the nearest power of two. | ||
51 | * | 50 | * |
52 | * Note that this is a transfer count, i.e. if we transfer 32-bit | 51 | * Note that this is a transfer count, i.e. if we transfer 32-bit |
53 | * words, we can do 8192 bytes per descriptor. | 52 | * words, we can do 16380 bytes per descriptor. |
54 | * | 53 | * |
55 | * This parameter is also system-specific. | 54 | * This parameter is also system-specific. |
56 | */ | 55 | */ |
57 | #define DWC_MAX_COUNT 2048U | 56 | #define DWC_MAX_COUNT 4095U |
58 | 57 | ||
59 | /* | 58 | /* |
60 | * Number of descriptors to allocate for each channel. This should be | 59 | * Number of descriptors to allocate for each channel. This should be |