Skip to contentSkip to conversation

ASoC: Intel: Rename SST trace event header to be less generic.

PATCH Applied Liam Girdwood 2 participants 4 messages Feb 18, 2014 – Feb 19, 2014

Subsystems (4)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Liam Girdwood

author maintainer
#0 lore raw

PATCH 1/2 ASoC: Intel: Rename SST trace event header to be less generic.

The Intel audio DSP SST trace event header has been renamed from sst.h to intel-sst.h in order to avoid any confusion with any future Samoa Standard Time drivers ;)

---
 include/trace/events/{sst.h => intel-sst.h} | 0
 sound/soc/intel/sst-dsp.c                   | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/trace/events/{sst.h => intel-sst.h} (100%)
include/trace/events/intel-sst.h renamed from include/trace/events/sst.h +0 -0
similarity index 100%
rename from include/trace/events/sst.h
rename to include/trace/events/intel-sst.h
sound/soc/intel/sst-dsp.c +1 -1
index 1888de5..e0ad2e5 100644
@@ -24,7 +24,7 @@
 #include "sst-dsp-priv.h"
 
 #define CREATE_TRACE_POINTS
-#include <trace/events/sst.h>
+#include <trace/events/intel-sst.h>
 
 /* Public API */
 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value)
Signature · 1 line
1.8.3.2
author maintainer
#1 lore raw

PATCH 2/2 ASoC: Intel: Add GFP_KERNEL flag to firmware DMA buffer.

Add GFP_KERNEL when allocating firmware DMA buffer.

---
 sound/soc/intel/sst-firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/sst-firmware.c +1 -1
index b6f9b5e..31cd154 100644
@@ -65,7 +65,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->dev, sst_fw->size,
-				&sst_fw->dmable_fw_paddr, GFP_DMA);
+				&sst_fw->dmable_fw_paddr, GFP_DMA | GFP_KERNEL);
 	if (!sst_fw->dma_buf) {
 		dev_err(dsp->dev, "error: DMA alloc failed\n");
 		kfree(sst_fw);
Signature · 1 line
1.8.3.2
maintainer Applied
#2 lore raw

Re: [PATCH 2/2] ASoC: Intel: Add GFP_KERNEL flag to firmware DMA buffer.

Quoted 1 line · Liam Girdwood

Add GFP_KERNEL when allocating firmware DMA buffer.

Applied, thanks.

author maintainer
#3 lore raw
In reply to Liam Girdwood
Quoted 4 lines · Liam Girdwood

The Intel audio DSP SST trace event header has been renamed from sst.h to intel-sst.h in order to avoid any confusion with any future Samoa Standard Time drivers ;)

bah, I'll need to resend this one. It passed module build, but failed on built-in (as I had built-in the driver for some other tests).

Liam