Skip to contentSkip to conversation

ASoC: Intel: sst: fix spelling mistake: "allocationf" -> "allocation"

PATCH Superseded Colin King 2 participants 2 messages May 10, 2017

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 ASoC: Intel: sst: fix spelling mistake: "allocationf" -> "allocation"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in dev_err message.

---
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/atom/sst-mfld-platform-pcm.c +1 -1
index 21cac1c8dd4c..e74119113713 100644
@@ -690,7 +690,7 @@ static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
 			snd_dma_continuous_data(GFP_DMA),
 			SST_MIN_BUFFER, SST_MAX_BUFFER);
 		if (retval) {
-			dev_err(rtd->dev, "dma buffer allocationf fail\n");
+			dev_err(rtd->dev, "dma buffer allocation fail\n");
 			return retval;
 		}
 	}
Signature · 1 line
2.11.0
#1 lore raw
Quoted 14 lines · Colin King

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in dev_err message.

---
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/atom/sst-mfld-platform-pcm.c +0 -0
index 21cac1c8dd4c..e74119113713 100644

sound/soc/intel/atom/sst-mfld-platform-pcm.c static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd) · line 693

Quoted 5 lines
sound/soc/intel/atom/sst-mfld-platform-pcm.c +1 -1
@@ -690,7 +690,7 @@ static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
 			snd_dma_continuous_data(GFP_DMA),
 			SST_MIN_BUFFER, SST_MAX_BUFFER);
 		if (retval) {
-			dev_err(rtd->dev, "dma buffer allocationf fail\n");
+			dev_err(rtd->dev, "dma buffer allocation fail\n");

Maybe fail -> failure would be nice too? If the message is useful at all.

julia

Quoted 7 lines
sound/soc/intel/atom/sst-mfld-platform-pcm.c +0 -1
 			return retval;
 		}
 	}
--

2.11.0