diff mbox series

[next] ASoC: sprd: Fix spelling mistake "faied" -> "failed"

Message ID 20190404075603.11680-1-colin.king@canonical.com (mailing list archive)
State Accepted
Commit 47fa5773f11c7cc9117d74ea5a18a22502d8f0f3
Headers show
Series [next] ASoC: sprd: Fix spelling mistake "faied" -> "failed" | expand

Commit Message

Colin King April 4, 2019, 7:56 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There are two identical spelling mistakes in dev_err messages. Fix them.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/soc/sprd/sprd-pcm-compress.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Mukesh Ojha April 4, 2019, 8 a.m. UTC | #1
On 4/4/2019 1:26 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There are two identical spelling mistakes in dev_err messages. Fix them.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>

Cheers,
-Mukesh
> ---
>   sound/soc/sprd/sprd-pcm-compress.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/sprd/sprd-pcm-compress.c b/sound/soc/sprd/sprd-pcm-compress.c
> index dc84257cffc2..e008525a6cb3 100644
> --- a/sound/soc/sprd/sprd-pcm-compress.c
> +++ b/sound/soc/sprd/sprd-pcm-compress.c
> @@ -282,13 +282,13 @@ static int sprd_platform_compr_set_params(struct snd_compr_stream *cstream,
>   	 */
>   	ret = sprd_platform_compr_dma_config(cstream, params, 1);
>   	if (ret) {
> -		dev_err(dev, "faied to config stage 1 DMA: %d\n", ret);
> +		dev_err(dev, "failed to config stage 1 DMA: %d\n", ret);
>   		return ret;
>   	}
>   
>   	ret = sprd_platform_compr_dma_config(cstream, params, 0);
>   	if (ret) {
> -		dev_err(dev, "faied to config stage 0 DMA: %d\n", ret);
> +		dev_err(dev, "failed to config stage 0 DMA: %d\n", ret);
>   		goto config_err;
>   	}
>
(Exiting) Baolin Wang April 4, 2019, 8:04 a.m. UTC | #2
On Thu, 4 Apr 2019 at 15:56, Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There are two identical spelling mistakes in dev_err messages. Fix them.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks for fixing my mistakes.
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
diff mbox series

Patch

diff --git a/sound/soc/sprd/sprd-pcm-compress.c b/sound/soc/sprd/sprd-pcm-compress.c
index dc84257cffc2..e008525a6cb3 100644
--- a/sound/soc/sprd/sprd-pcm-compress.c
+++ b/sound/soc/sprd/sprd-pcm-compress.c
@@ -282,13 +282,13 @@  static int sprd_platform_compr_set_params(struct snd_compr_stream *cstream,
 	 */
 	ret = sprd_platform_compr_dma_config(cstream, params, 1);
 	if (ret) {
-		dev_err(dev, "faied to config stage 1 DMA: %d\n", ret);
+		dev_err(dev, "failed to config stage 1 DMA: %d\n", ret);
 		return ret;
 	}
 
 	ret = sprd_platform_compr_dma_config(cstream, params, 0);
 	if (ret) {
-		dev_err(dev, "faied to config stage 0 DMA: %d\n", ret);
+		dev_err(dev, "failed to config stage 0 DMA: %d\n", ret);
 		goto config_err;
 	}