ALSA: ali5451: fix spelling mistake in "ali_capture_preapre"
authorColin Ian King <colin.king@canonical.com>
Sat, 29 Apr 2017 21:52:55 +0000 (22:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 30 Apr 2017 06:21:48 +0000 (08:21 +0200)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ali5451/ali5451.c

index 92b819e4f7290c7ac056d72e35ce553829dce64a..34bbc2e730a65767fe9ba6c26f162ef6db7e7b39 100644 (file)
@@ -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);