diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-04 18:24:34 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-14 08:14:18 +0100 |
commit | 04cc79a048ee215ec39af05d61f1fc8a4ab3d8c1 (patch) | |
tree | ac6379dce34e9f9e55fd656f10a23192203bcda3 /sound/core/seq/seq_lock.c | |
parent | cf74dcf3512271bca4bb5fe79274ad23c22f5dd3 (diff) | |
download | linux-04cc79a048ee215ec39af05d61f1fc8a4ab3d8c1.tar.gz linux-04cc79a048ee215ec39af05d61f1fc8a4ab3d8c1.tar.bz2 linux-04cc79a048ee215ec39af05d61f1fc8a4ab3d8c1.zip |
ALSA: seq: Use standard printk helpers
Use the standard pr_xxx() helpers instead of home-baked snd_print*().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq_lock.c')
-rw-r--r-- | sound/core/seq/seq_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/seq/seq_lock.c b/sound/core/seq/seq_lock.c index 2cfe50c71a9d..3b693e924db7 100644 --- a/sound/core/seq/seq_lock.c +++ b/sound/core/seq/seq_lock.c @@ -31,12 +31,12 @@ void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) int max_count = 5 * HZ; if (atomic_read(lockp) < 0) { - printk(KERN_WARNING "seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line); + pr_warn("ALSA: seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line); return; } while (atomic_read(lockp) > 0) { if (max_count == 0) { - snd_printk(KERN_WARNING "seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line); + pr_warn("ALSA: seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line); break; } schedule_timeout_uninterruptible(1); |