diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-09-29 14:33:26 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-09-30 10:36:59 +0200 |
commit | 0cae90a96c15f2fd3bd139ba5505755c9c9ef2eb (patch) | |
tree | 36432fccc1f0898a62bcc083d41cbe10e3075f4c /sound/pci/ctxfi/ctdaio.c | |
parent | a45c4d5142595a9b7907499f6d67f702bc20aeb4 (diff) | |
download | linux-0cae90a96c15f2fd3bd139ba5505755c9c9ef2eb.tar.bz2 |
ALSA: ctxfi: pr_* replaced with dev_*
pr_* macros replaced with dev_* as they are more preffered over pr_*.
each file which had pr_* was reviewed manually and replaced with dev_*.
here we have actually used the various snd_card which was added to some
structures of ctxfi via a previous patch of this series.
in the ctvmem.c file we have passed a reference of ct_atc as an
argument to get_vm_block function so that it can be used from
dev_*.
since dev_* will print the device information , so the prefix of
"ctxfi" from the various pr_* were also removed.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctdaio.c')
-rw-r--r-- | sound/pci/ctxfi/ctdaio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctdaio.c b/sound/pci/ctxfi/ctdaio.c index 212280e11f6e..c1c3f8816fff 100644 --- a/sound/pci/ctxfi/ctdaio.c +++ b/sound/pci/ctxfi/ctdaio.c @@ -539,7 +539,8 @@ static int get_daio_rsc(struct daio_mgr *mgr, err = daio_mgr_get_rsc(&mgr->mgr, desc->type); spin_unlock_irqrestore(&mgr->mgr_lock, flags); if (err) { - pr_err("Can't meet DAIO resource request!\n"); + dev_err(mgr->card->dev, + "Can't meet DAIO resource request!\n"); return err; } |