summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-04-29 22:52:55 +0100
committerTakashi Iwai <tiwai@suse.de>2017-04-30 08:21:48 +0200
commit0997e378be1d888a5d093eeee55f842cdfe55ebe (patch)
tree8bf7e18c515d22b53cbecc1a13f37747423b74b6
parentca169cc2f9e1f8ed9c867b197a49d6dd05e5436d (diff)
downloadlinux-0997e378be1d888a5d093eeee55f842cdfe55ebe.tar.bz2
ALSA: ali5451: fix spelling mistake in "ali_capture_preapre"
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>
-rw-r--r--sound/pci/ali5451/ali5451.c2
1 files changed, 1 insertions, 1 deletions
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);