[PATCH] sound/soc/intel: Fix spelling mistake "cant" --> "can't"

From: Youling Tang
Date: Thu Aug 13 2020 - 02:13:21 EST


There is some spelling mistakes in a dev_err message. Fix it.

Signed-off-by: Youling Tang <tangyouling@xxxxxxxxxxx>
---
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