]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - sound/pci/ctxfi/ctpcm.c
ALSA: ctxfi - Add prefix to debug prints
[linux-2.6.git] / sound / pci / ctxfi / ctpcm.c
index 73d4fdbbb9f44095e8f72837f8881168f254af02..a64cb0ed87592fdcd38d5d522d48be3077e30171 100644 (file)
@@ -284,7 +284,7 @@ static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream)
                err = atc->pcm_playback_prepare(atc, apcm);
 
        if (err < 0) {
-               printk(KERN_ERR "Preparing pcm playback failed!!!\n");
+               printk(KERN_ERR "ctxfi: Preparing pcm playback failed!!!\n");
                return err;
        }
 
@@ -389,7 +389,7 @@ static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream)
 
        err = atc->pcm_capture_prepare(atc, apcm);
        if (err < 0) {
-               printk(KERN_ERR "Preparing pcm capture failed!!!\n");
+               printk(KERN_ERR "ctxfi: Preparing pcm capture failed!!!\n");
                return err;
        }
 
@@ -477,7 +477,7 @@ int ct_alsa_pcm_create(struct ct_atc *atc,
        err = snd_pcm_new(atc->card, name, device,
                          playback_count, capture_count, &pcm);
        if (err < 0) {
-               printk(KERN_ERR "snd_pcm_new failed!! Err=%d\n", err);
+               printk(KERN_ERR "ctxfi: snd_pcm_new failed!! Err=%d\n", err);
                return err;
        }