summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctresource.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-14 15:19:30 +0200
committerTakashi Iwai <tiwai@suse.de>2009-05-14 15:19:30 +0200
commitb3e0afe61e8271a8d082478752a67e5c279c8f23 (patch)
tree697242a45d03482983caf8ba2d9c00d6e7b9e33a /sound/pci/ctxfi/ctresource.c
parentALSA: ctxfi - Avoid unneeded pci_read_config_*() calls (diff)
downloadlinux-b3e0afe61e8271a8d082478752a67e5c279c8f23.tar.xz
linux-b3e0afe61e8271a8d082478752a67e5c279c8f23.zip
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/ctresource.c')
-rw-r--r--sound/pci/ctxfi/ctresource.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/sound/pci/ctxfi/ctresource.c b/sound/pci/ctxfi/ctresource.c
index 414fc23267cd..da21a717a07a 100644
--- a/sound/pci/ctxfi/ctresource.c
+++ b/sound/pci/ctxfi/ctresource.c
@@ -162,12 +162,14 @@ int rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, void *hw)
case DAIO:
break;
default:
- printk(KERN_ERR "Invalid resource type value %d!\n", type);
+ printk(KERN_ERR
+ "ctxfi: Invalid resource type value %d!\n", type);
return -EINVAL;
}
if (err) {
- printk(KERN_ERR "Failed to get resource control block!\n");
+ printk(KERN_ERR
+ "ctxfi: Failed to get resource control block!\n");
return err;
}
@@ -190,8 +192,8 @@ int rsc_uninit(struct rsc *rsc)
case DAIO:
break;
default:
- printk(KERN_ERR "Invalid resource type value %d!\n",
- rsc->type);
+ printk(KERN_ERR "ctxfi: "
+ "Invalid resource type value %d!\n", rsc->type);
break;
}
@@ -233,13 +235,15 @@ int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type,
case SUM:
break;
default:
- printk(KERN_ERR "Invalid resource type value %d!\n", type);
+ printk(KERN_ERR
+ "ctxfi: Invalid resource type value %d!\n", type);
err = -EINVAL;
goto error;
}
if (err) {
- printk(KERN_ERR "Failed to get manager control block!\n");
+ printk(KERN_ERR
+ "ctxfi: Failed to get manager control block!\n");
goto error;
}
@@ -282,8 +286,8 @@ int rsc_mgr_uninit(struct rsc_mgr *mgr)
case SUM:
break;
default:
- printk(KERN_ERR "Invalid resource type value %d!\n",
- mgr->type);
+ printk(KERN_ERR "ctxfi: "
+ "Invalid resource type value %d!\n", mgr->type);
break;
}