summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 18:20:50 +0300
committerTakashi Iwai <tiwai@suse.de>2015-01-28 09:21:33 +0300
commitccaac9ed79c6051733f781a1cd639d488696f512 (patch)
tree5d93f0424517cb65b4e1d107c2a13df083e89847 /sound/usb
parentd8131e67f08bc15e54104cb69deb06bad9d87f30 (diff)
downloadlinux-ccaac9ed79c6051733f781a1cd639d488696f512.tar.xz
ALSA: line6: Use dev_err()
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>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/line6/pcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/line6/pcm.c b/sound/usb/line6/pcm.c
index 677419dcacf9..4152d92105b1 100644
--- 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,