diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-08-26 17:31:42 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-08-26 17:40:54 +0400 |
commit | e720b82027b99482ea5d1001a69bdf2200e86b79 (patch) | |
tree | f5550b5e8ec2309aec6b4ed9ede6fc949b3edfc9 /sound/pci/ctxfi/ctsrc.c | |
parent | 57f2d8b797c4c8d9e65e3b9fae98246be5a93df3 (diff) | |
download | linux-e720b82027b99482ea5d1001a69bdf2200e86b79.tar.xz |
ALSA: ctxfi: prink replacement
as pr_* macros are more preffered over printk, so printk replaced with corresponding pr_err and pr_alert
this patch will generate a warning from checkpatch for an unnecessary space before new line and has not been fixed as this patch is only for printk replacement.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctsrc.c')
-rw-r--r-- | sound/pci/ctxfi/ctsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ctxfi/ctsrc.c b/sound/pci/ctxfi/ctsrc.c index 6e77e86307c2..19df9b4ed800 100644 --- a/sound/pci/ctxfi/ctsrc.c +++ b/sound/pci/ctxfi/ctsrc.c @@ -431,7 +431,7 @@ get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc) spin_unlock_irqrestore(&mgr->mgr_lock, flags); if (err) { - printk(KERN_ERR "ctxfi: Can't meet SRC resource request!\n"); + pr_err("ctxfi: Can't meet SRC resource request!\n"); return err; } @@ -739,7 +739,7 @@ static int get_srcimp_rsc(struct srcimp_mgr *mgr, } spin_unlock_irqrestore(&mgr->mgr_lock, flags); if (err) { - printk(KERN_ERR "ctxfi: Can't meet SRCIMP resource request!\n"); + pr_err("ctxfi: Can't meet SRCIMP resource request!\n"); goto error1; } |