aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-08-25 09:34:52 -0400
committerTakashi Iwai <tiwai@suse.de>2014-08-25 10:02:18 -0400
commit57f2d8b797c4c8d9e65e3b9fae98246be5a93df3 (patch)
treef55497314d61bca597034c316865b8b3f5bff3ae /sound/pci/ctxfi
parent54db6c3949359ee35e9addb02506fca431721ef0 (diff)
ALSA: ctxfi: ctpcm.c: printk replacement
replaced printk with corresponding pr_err Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi')
-rw-r--r--sound/pci/ctxfi/ctpcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/ctpcm.c b/sound/pci/ctxfi/ctpcm.c
index e8a4feb1ed86..6826c2c02c44 100644
--- a/sound/pci/ctxfi/ctpcm.c
+++ b/sound/pci/ctxfi/ctpcm.c
@@ -217,7 +217,7 @@ static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream)
217 err = atc->pcm_playback_prepare(atc, apcm); 217 err = atc->pcm_playback_prepare(atc, apcm);
218 218
219 if (err < 0) { 219 if (err < 0) {
220 printk(KERN_ERR "ctxfi: Preparing pcm playback failed!!!\n"); 220 pr_err("ctxfi: Preparing pcm playback failed!!!\n");
221 return err; 221 return err;
222 } 222 }
223 223
@@ -324,7 +324,7 @@ static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream)
324 324
325 err = atc->pcm_capture_prepare(atc, apcm); 325 err = atc->pcm_capture_prepare(atc, apcm);
326 if (err < 0) { 326 if (err < 0) {
327 printk(KERN_ERR "ctxfi: Preparing pcm capture failed!!!\n"); 327 pr_err("ctxfi: Preparing pcm capture failed!!!\n");
328 return err; 328 return err;
329 } 329 }
330 330
@@ -435,7 +435,7 @@ int ct_alsa_pcm_create(struct ct_atc *atc,
435 err = snd_pcm_new(atc->card, "ctxfi", device, 435 err = snd_pcm_new(atc->card, "ctxfi", device,
436 playback_count, capture_count, &pcm); 436 playback_count, capture_count, &pcm);
437 if (err < 0) { 437 if (err < 0) {
438 printk(KERN_ERR "ctxfi: snd_pcm_new failed!! Err=%d\n", err); 438 pr_err("ctxfi: snd_pcm_new failed!! Err=%d\n", err);
439 return err; 439 return err;
440 } 440 }
441 441