projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6455abb
)
ALSA: sparc: Use GFP_KERNEL for non-atomic allocation
author
Takashi Iwai
<tiwai@suse.de>
Thu, 3 May 2018 08:51:41 +0000
(10:51 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 3 May 2018 08:53:39 +0000
(10:53 +0200)
dbri driver allocates a resource with GFP_ATOMIC unnecessarily in its
probe function. Replace it with the standard GFP_KERNEL for avoiding
the bogus allocation failures.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/dbri.c
patch
|
blob
|
history
diff --git
a/sound/sparc/dbri.c
b/sound/sparc/dbri.c
index abc7bd5055eb12d4709fc5251b8ffe5cb4bbc4d4..f0e713527e91705cb54017e027f0a8a7f0e16e79 100644
(file)
--- a/
sound/sparc/dbri.c
+++ b/
sound/sparc/dbri.c
@@
-2542,7
+2542,7
@@
static int snd_dbri_create(struct snd_card *card,
dbri->irq = irq;
dbri->dma = dma_zalloc_coherent(&op->dev, sizeof(struct dbri_dma),
- &dbri->dma_dvma, GFP_
ATOMIC
);
+ &dbri->dma_dvma, GFP_
KERNEL
);
if (!dbri->dma)
return -ENOMEM;