summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-13 17:17:04 +0200
committerMark Brown <broonie@kernel.org>2018-10-17 11:10:48 +0100
commit3b991038498bc5011b063d6a804503c577a79434 (patch)
treedf0b4cf2759a7a0eea78d605e590861518eb69cb /sound/soc
parent6530adeaaf5018cd13437dc82adcd9349657a00e (diff)
downloadlinux-3b991038498bc5011b063d6a804503c577a79434.tar.gz
linux-3b991038498bc5011b063d6a804503c577a79434.tar.bz2
linux-3b991038498bc5011b063d6a804503c577a79434.zip
ASoC: intel: don't pass GFP_DMA32 to dma_alloc_coherent
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/intel/common/sst-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c
index 11041aedea31..1e067504b604 100644
--- 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);