Skip to content

Commit

Permalink
ALSA: line6: Use dev_err()
Browse files Browse the repository at this point in the history
This is the last remaining snd_printk() usage in this driver.

Tested-by: Chris Rorvick <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Jan 28, 2015
1 parent d8131e6 commit ccaac9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/usb/line6/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ccaac9e

Please sign in to comment.