[alsa-devel] [PATCH 13/16] ALSA: line6: Use dev_err()

Takashi Iwai tiwai at suse.de
Fri Jan 23 18:13:20 CET 2015


This is the last remaining snd_printk() usage in this driver.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 sound/usb/line6/pcm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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,
-- 
2.2.2



More information about the Alsa-devel mailing list