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

Message ID 20170510081655.27123-1-colin.king@canonical.com
State New
Headers show

Commit Message

Colin King May 10, 2017, 8:16 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in dev_err message.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Julia Lawall May 10, 2017, 10:06 a.m. UTC | #1
On Wed, 10 May 2017, Colin King wrote:

> From: Colin Ian King <colin.king@canonical.com>
>
> Trivial fix to spelling mistake in dev_err message.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  sound/soc/intel/atom/sst-mfld-platform-pcm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
> index 21cac1c8dd4c..e74119113713 100644
> --- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
> +++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
> @@ -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

>  			return retval;
>  		}
>  	}
> --
> 2.11.0
>
>

Patch
diff mbox

diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index 21cac1c8dd4c..e74119113713 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -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;
 		}
 	}