提交 57f2d8b7 编写于 作者: S Sudip Mukherjee 提交者: Takashi Iwai

ALSA: ctxfi: ctpcm.c: printk replacement

replaced printk with corresponding pr_err
Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 54db6c39
...@@ -217,7 +217,7 @@ static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream) ...@@ -217,7 +217,7 @@ static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream)
err = atc->pcm_playback_prepare(atc, apcm); err = atc->pcm_playback_prepare(atc, apcm);
if (err < 0) { if (err < 0) {
printk(KERN_ERR "ctxfi: Preparing pcm playback failed!!!\n"); pr_err("ctxfi: Preparing pcm playback failed!!!\n");
return err; return err;
} }
...@@ -324,7 +324,7 @@ static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream) ...@@ -324,7 +324,7 @@ static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream)
err = atc->pcm_capture_prepare(atc, apcm); err = atc->pcm_capture_prepare(atc, apcm);
if (err < 0) { if (err < 0) {
printk(KERN_ERR "ctxfi: Preparing pcm capture failed!!!\n"); pr_err("ctxfi: Preparing pcm capture failed!!!\n");
return err; return err;
} }
...@@ -435,7 +435,7 @@ int ct_alsa_pcm_create(struct ct_atc *atc, ...@@ -435,7 +435,7 @@ int ct_alsa_pcm_create(struct ct_atc *atc,
err = snd_pcm_new(atc->card, "ctxfi", device, err = snd_pcm_new(atc->card, "ctxfi", device,
playback_count, capture_count, &pcm); playback_count, capture_count, &pcm);
if (err < 0) { if (err < 0) {
printk(KERN_ERR "ctxfi: snd_pcm_new failed!! Err=%d\n", err); pr_err("ctxfi: snd_pcm_new failed!! Err=%d\n", err);
return err; return err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册