ALSA: ali5451: fix spelling mistake in "ali_capture_preapre"
diff mbox

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

Commit Message

Colin King April 29, 2017, 9:52 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in dev_warn message,
"ali_capture_preapre" should be "ali_capture_prepare"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/pci/ali5451/ali5451.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai April 30, 2017, 6:22 a.m. UTC | #1
On Sat, 29 Apr 2017 23:52:55 +0200,
Colin King wrote:
> 
> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistake in dev_warn message,
> "ali_capture_preapre" should be "ali_capture_prepare"
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks.


Takashi

> ---
>  sound/pci/ali5451/ali5451.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c
> index 92b819e4f729..34bbc2e730a6 100644
> --- a/sound/pci/ali5451/ali5451.c
> +++ b/sound/pci/ali5451/ali5451.c
> @@ -1339,7 +1339,7 @@ static int snd_ali_prepare(struct snd_pcm_substream *substream)
>  		rate = snd_ali_get_spdif_in_rate(codec);
>  		if (rate == 0) {
>  			dev_warn(codec->card->dev,
> -				 "ali_capture_preapre: spdif rate detect err!\n");
> +				 "ali_capture_prepare: spdif rate detect err!\n");
>  			rate = 48000;
>  		}
>  		spin_lock_irq(&codec->reg_lock);
> -- 
> 2.11.0
> 
>

Patch
diff mbox

diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c
index 92b819e4f729..34bbc2e730a6 100644
--- a/sound/pci/ali5451/ali5451.c
+++ b/sound/pci/ali5451/ali5451.c
@@ -1339,7 +1339,7 @@  static int snd_ali_prepare(struct snd_pcm_substream *substream)
 		rate = snd_ali_get_spdif_in_rate(codec);
 		if (rate == 0) {
 			dev_warn(codec->card->dev,
-				 "ali_capture_preapre: spdif rate detect err!\n");
+				 "ali_capture_prepare: spdif rate detect err!\n");
 			rate = 48000;
 		}
 		spin_lock_irq(&codec->reg_lock);