|
@@ -476,7 +476,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);
|
|
dev_dbg(chan2dev(&pd_chan->chan), "scanned %d descriptors\n", i);
|
|
|
|
|
|
|
|
if (!ret) {
|
|
if (!ret) {
|
|
|
- ret = pdc_alloc_desc(&pd_chan->chan, GFP_NOIO);
|
|
|
|
|
|
|
+ ret = pdc_alloc_desc(&pd_chan->chan, GFP_ATOMIC);
|
|
|
if (ret) {
|
|
if (ret) {
|
|
|
spin_lock(&pd_chan->lock);
|
|
spin_lock(&pd_chan->lock);
|
|
|
pd_chan->descs_allocated++;
|
|
pd_chan->descs_allocated++;
|