projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8131e6
)
ALSA: line6: Use dev_err()
author
Takashi Iwai
<tiwai@suse.de>
Fri, 23 Jan 2015 15:20:50 +0000
(16:20 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 28 Jan 2015 06:21:33 +0000
(07:21 +0100)
This is the last remaining snd_printk() usage in this driver.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/line6/pcm.c
b/sound/usb/line6/pcm.c
index 677419dcacf9599a15511e10e64c5e07e241661f..4152d92105b15a85fbf3249b695eb7c043e1937f 100644
(file)
--- a/
sound/usb/line6/pcm.c
+++ b/
sound/usb/line6/pcm.c
@@
-128,7
+128,8
@@
static void line6_wait_clear_audio_urbs(struct snd_line6_pcm *line6pcm,
schedule_timeout(1);
} while (--timeout > 0);
if (alive)
- snd_printk(KERN_ERR "timeout: still %d active urbs..\n", alive);
+ dev_err(line6pcm->line6->ifcdev,
+ "timeout: still %d active urbs..\n", alive);
}
static bool test_flags(unsigned long flags0, unsigned long flags1,