diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-05-14 15:19:30 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-14 15:19:30 +0200 |
commit | b3e0afe61e8271a8d082478752a67e5c279c8f23 (patch) | |
tree | 697242a45d03482983caf8ba2d9c00d6e7b9e33a /sound/pci/ctxfi/xfi.c | |
parent | 35b053becb64eba13f3ea5c8c51023997169ff34 (diff) | |
download | op-kernel-dev-b3e0afe61e8271a8d082478752a67e5c279c8f23.zip op-kernel-dev-b3e0afe61e8271a8d082478752a67e5c279c8f23.tar.gz |
ALSA: ctxfi - Add prefix to debug prints
Added ctxfi: prefix to each debug print.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/xfi.c')
-rw-r--r-- | sound/pci/ctxfi/xfi.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sound/pci/ctxfi/xfi.c b/sound/pci/ctxfi/xfi.c index b7368fd..19310ed 100644 --- a/sound/pci/ctxfi/xfi.c +++ b/sound/pci/ctxfi/xfi.c @@ -57,16 +57,17 @@ ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) if (err) return err; if ((reference_rate != 48000) && (reference_rate != 44100)) { - printk(KERN_ERR "Invalid reference_rate value %u!!!\n" - "The valid values for reference_rate " - "are 48000 and 44100.\nValue 48000 is " - "assumed.\n", reference_rate); + printk(KERN_ERR "ctxfi: Invalid reference_rate value %u!!!\n", + reference_rate); + printk(KERN_ERR "ctxfi: The valid values for reference_rate " + "are 48000 and 44100, Value 48000 is assumed.\n"); reference_rate = 48000; } if ((multiple != 1) && (multiple != 2)) { - printk(KERN_ERR "Invalid multiple value %u!!!\nThe valid " - "values for multiple are 1 and 2.\nValue 2 " - "is assumed.\n", multiple); + printk(KERN_ERR "ctxfi: Invalid multiple value %u!!!\n", + multiple); + printk(KERN_ERR "ctxfi: The valid values for multiple are " + "1 and 2, Value 2 is assumed.\n"); multiple = 2; } err = ct_atc_create(card, pci, reference_rate, multiple, &atc); |