diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-05-14 09:19:30 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-14 09:19:30 -0400 |
commit | b3e0afe61e8271a8d082478752a67e5c279c8f23 (patch) | |
tree | 697242a45d03482983caf8ba2d9c00d6e7b9e33a /sound/pci/ctxfi/xfi.c | |
parent | 35b053becb64eba13f3ea5c8c51023997169ff34 (diff) |
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 b7368fded53c..19310ed26e88 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) | |||
57 | if (err) | 57 | if (err) |
58 | return err; | 58 | return err; |
59 | if ((reference_rate != 48000) && (reference_rate != 44100)) { | 59 | if ((reference_rate != 48000) && (reference_rate != 44100)) { |
60 | printk(KERN_ERR "Invalid reference_rate value %u!!!\n" | 60 | printk(KERN_ERR "ctxfi: Invalid reference_rate value %u!!!\n", |
61 | "The valid values for reference_rate " | 61 | reference_rate); |
62 | "are 48000 and 44100.\nValue 48000 is " | 62 | printk(KERN_ERR "ctxfi: The valid values for reference_rate " |
63 | "assumed.\n", reference_rate); | 63 | "are 48000 and 44100, Value 48000 is assumed.\n"); |
64 | reference_rate = 48000; | 64 | reference_rate = 48000; |
65 | } | 65 | } |
66 | if ((multiple != 1) && (multiple != 2)) { | 66 | if ((multiple != 1) && (multiple != 2)) { |
67 | printk(KERN_ERR "Invalid multiple value %u!!!\nThe valid " | 67 | printk(KERN_ERR "ctxfi: Invalid multiple value %u!!!\n", |
68 | "values for multiple are 1 and 2.\nValue 2 " | 68 | multiple); |
69 | "is assumed.\n", multiple); | 69 | printk(KERN_ERR "ctxfi: The valid values for multiple are " |
70 | "1 and 2, Value 2 is assumed.\n"); | ||
70 | multiple = 2; | 71 | multiple = 2; |
71 | } | 72 | } |
72 | err = ct_atc_create(card, pci, reference_rate, multiple, &atc); | 73 | err = ct_atc_create(card, pci, reference_rate, multiple, &atc); |