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:
6530ade
)
ASoC: intel: don't pass GFP_DMA32 to dma_alloc_coherent
author
Christoph Hellwig
<
[email protected]
>
Sat, 13 Oct 2018 15:17:04 +0000
(17:17 +0200)
committer
Mark Brown
<
[email protected]
>
Wed, 17 Oct 2018 10:10:48 +0000
(11:10 +0100)
The DMA API does its own zone decisions based on the coherent_dma_mask.
Signed-off-by: Christoph Hellwig <
[email protected]
>
Reviewed-by: Takashi Iwai <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/intel/common/sst-firmware.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/common/sst-firmware.c
b/sound/soc/intel/common/sst-firmware.c
index 11041aedea312cf1bae7ae4de23cacde9552d9d5..1e067504b6043b85a6a1c223a23298eb577e42dd 100644
(file)
--- a/
sound/soc/intel/common/sst-firmware.c
+++ b/
sound/soc/intel/common/sst-firmware.c
@@
-355,7
+355,7
@@
struct sst_fw *sst_fw_new(struct sst_dsp *dsp,
/* allocate DMA buffer to store FW data */
sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size,
- &sst_fw->dmable_fw_paddr, GFP_
DMA | GFP_
KERNEL);
+ &sst_fw->dmable_fw_paddr, GFP_KERNEL);
if (!sst_fw->dma_buf) {
dev_err(dsp->dev, "error: DMA alloc failed\n");
kfree(sst_fw);