diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-13 18:17:04 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-17 13:10:48 +0300 |
commit | 3b991038498bc5011b063d6a804503c577a79434 (patch) | |
tree | df0b4cf2759a7a0eea78d605e590861518eb69cb /sound | |
parent | 6530adeaaf5018cd13437dc82adcd9349657a00e (diff) | |
download | linux-3b991038498bc5011b063d6a804503c577a79434.tar.xz |
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')
-rw-r--r-- | sound/soc/intel/common/sst-firmware.c | 2 |
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); |