git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pch_dma: Use GFP_ATOMIC because called from interrupt context
[pandora-kernel.git]
/
drivers
/
dma
/
pch_dma.c
diff --git
a/drivers/dma/pch_dma.c
b/drivers/dma/pch_dma.c
index
629c430
..
49138e7
100644
(file)
--- a/
drivers/dma/pch_dma.c
+++ b/
drivers/dma/pch_dma.c
@@
-489,7
+489,7
@@
static struct pch_dma_desc *pdc_desc_get(struct pch_dma_chan *pd_chan)
dev_dbg(chan2dev(&pd_chan->chan), "scanned %d descriptors\n", i);
if (!ret) {
- ret = pdc_alloc_desc(&pd_chan->chan, GFP_
NOIO
);
+ ret = pdc_alloc_desc(&pd_chan->chan, GFP_
ATOMIC
);
if (ret) {
spin_lock(&pd_chan->lock);
pd_chan->descs_allocated++;