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>
This commit is contained in:
Родитель
d8131e67f0
Коммит
ccaac9ed79
|
@ -128,7 +128,8 @@ static void line6_wait_clear_audio_urbs(struct snd_line6_pcm *line6pcm,
|
||||||
schedule_timeout(1);
|
schedule_timeout(1);
|
||||||
} while (--timeout > 0);
|
} while (--timeout > 0);
|
||||||
if (alive)
|
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,
|
static bool test_flags(unsigned long flags0, unsigned long flags1,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче