diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/pl330.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 7e543698fa23..28322dced886 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c | |||
@@ -2390,7 +2390,7 @@ static int pl330_alloc_chan_resources(struct dma_chan *chan) | |||
2390 | pch->pl330_chid = pl330_request_channel(&pdmac->pif); | 2390 | pch->pl330_chid = pl330_request_channel(&pdmac->pif); |
2391 | if (!pch->pl330_chid) { | 2391 | if (!pch->pl330_chid) { |
2392 | spin_unlock_irqrestore(&pch->lock, flags); | 2392 | spin_unlock_irqrestore(&pch->lock, flags); |
2393 | return 0; | 2393 | return -ENOMEM; |
2394 | } | 2394 | } |
2395 | 2395 | ||
2396 | tasklet_init(&pch->task, pl330_tasklet, (unsigned long) pch); | 2396 | tasklet_init(&pch->task, pl330_tasklet, (unsigned long) pch); |