[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1597299157-32221-1-git-send-email-tangyouling@loongson.cn>
Date: Thu, 13 Aug 2020 14:12:37 +0800
From: Youling Tang <tangyouling@...ngson.cn>
To: Cezary Rojewski <cezary.rojewski@...el.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Jie Yang <yang.jie@...ux.intel.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: [PATCH] sound/soc/intel: Fix spelling mistake "cant" --> "can't"
There is some spelling mistakes in a dev_err message. Fix it.
Signed-off-by: Youling Tang <tangyouling@...ngson.cn>
---
sound/soc/intel/common/sst-firmware.c | 4 ++--
sound/soc/intel/haswell/sst-haswell-ipc.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c
index 0594f89..1189ec3 100644
--- a/sound/soc/intel/common/sst-firmware.c
+++ b/sound/soc/intel/common/sst-firmware.c
@@ -130,7 +130,7 @@ static void block_list_remove(struct sst_dsp *dsp,
err = block->ops->disable(block);
if (err < 0)
dev_err(dsp->dev,
- "error: cant disable block %d:%d\n",
+ "error: can't disable block %d:%d\n",
block->type, block->index);
}
}
@@ -158,7 +158,7 @@ static int block_list_prepare(struct sst_dsp *dsp,
ret = block->ops->enable(block);
if (ret < 0) {
dev_err(dsp->dev,
- "error: cant disable block %d:%d\n",
+ "error: can't disable block %d:%d\n",
block->type, block->index);
goto err;
}
diff --git a/sound/soc/intel/haswell/sst-haswell-ipc.c b/sound/soc/intel/haswell/sst-haswell-ipc.c
index 0ff89ea..773688b 100644
--- a/sound/soc/intel/haswell/sst-haswell-ipc.c
+++ b/sound/soc/intel/haswell/sst-haswell-ipc.c
@@ -1507,7 +1507,7 @@ static int sst_hsw_dx_state_dump(struct sst_hsw *hsw)
ret = sst_dsp_dma_get_channel(sst, 0);
if (ret < 0) {
- dev_err(hsw->dev, "error: cant allocate dma channel %d\n", ret);
+ dev_err(hsw->dev, "error: can't allocate dma channel %d\n", ret);
return ret;
}
@@ -1587,7 +1587,7 @@ int sst_hsw_dsp_load(struct sst_hsw *hsw)
ret = sst_dsp_dma_get_channel(dsp, 0);
if (ret < 0) {
- dev_err(hsw->dev, "error: cant allocate dma channel %d\n", ret);
+ dev_err(hsw->dev, "error: can't allocate dma channel %d\n", ret);
return ret;
}
@@ -1616,7 +1616,7 @@ static int sst_hsw_dsp_restore(struct sst_hsw *hsw)
ret = sst_dsp_dma_get_channel(dsp, 0);
if (ret < 0) {
- dev_err(hsw->dev, "error: cant allocate dma channel %d\n", ret);
+ dev_err(hsw->dev, "error: can't allocate dma channel %d\n", ret);
return ret;
}
--
2.1.0
Powered by blists - more mailing lists