diff options
author | Jassi <jassi.brar@samsung.com> | 2009-09-15 06:01:19 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-09-15 19:50:06 -0400 |
commit | 3ea61e49223c499c705b80ea385cb4df9c08da21 (patch) | |
tree | ad45a8f3a8ddfd131d5bc61e7f97cccc18be681f /arch | |
parent | 23c94b47be85207a8a9e0ac3ac89b16edf6356f0 (diff) |
ARM: S3C64XX: DMA: 'size' argument of dma_pool_create
Provide actual minimum(struct pl080s_lli) size of block to
dma_pool_create call, instead of hardcoded 32 bytes.
Signed-Off-by: Jassi <jassi.brar@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-s3c64xx/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c64xx/dma.c b/arch/arm/plat-s3c64xx/dma.c index 67aa93dbb69e..b26d2a242d9e 100644 --- a/arch/arm/plat-s3c64xx/dma.c +++ b/arch/arm/plat-s3c64xx/dma.c | |||
@@ -697,7 +697,7 @@ static int __init s3c64xx_dma_init(void) | |||
697 | 697 | ||
698 | printk(KERN_INFO "%s: Registering DMA channels\n", __func__); | 698 | printk(KERN_INFO "%s: Registering DMA channels\n", __func__); |
699 | 699 | ||
700 | dma_pool = dma_pool_create("DMA-LLI", NULL, 32, 16, 0); | 700 | dma_pool = dma_pool_create("DMA-LLI", NULL, sizeof(struct pl080s_lli), 16, 0); |
701 | if (!dma_pool) { | 701 | if (!dma_pool) { |
702 | printk(KERN_ERR "%s: failed to create pool\n", __func__); | 702 | printk(KERN_ERR "%s: failed to create pool\n", __func__); |
703 | return -ENOMEM; | 703 | return -ENOMEM; |