summaryrefslogtreecommitdiffstats
path: root/sound/pci/echoaudio/midi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-25 16:43:02 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-26 16:45:26 +0100
commitece7a36d407d4ad1e9a1ddfb920a7007cf86a9d3 (patch)
treebb137c5de4e69997b574599d80ec48b009da50ed /sound/pci/echoaudio/midi.c
parent2b96a7f1fe6678e92850d5a150f1bf361ae1cb8e (diff)
downloadtalos-obmc-linux-ece7a36d407d4ad1e9a1ddfb920a7007cf86a9d3.tar.gz
talos-obmc-linux-ece7a36d407d4ad1e9a1ddfb920a7007cf86a9d3.zip
ALSA: echoaudio: Use standard printk helpers
Convert with dev_err() and co from snd_printk(), etc. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/echoaudio/midi.c')
-rw-r--r--sound/pci/echoaudio/midi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/echoaudio/midi.c b/sound/pci/echoaudio/midi.c
index abfd51c2530e..7f4dfae0323a 100644
--- a/sound/pci/echoaudio/midi.c
+++ b/sound/pci/echoaudio/midi.c
@@ -221,7 +221,8 @@ static void snd_echo_midi_output_write(unsigned long data)
DE_MID(("Try to send %d bytes...\n", bytes));
sent = write_midi(chip, buf, bytes);
if (sent < 0) {
- snd_printk(KERN_ERR "write_midi() error %d\n", sent);
+ dev_err(chip->card->dev,
+ "write_midi() error %d\n", sent);
/* retry later */
sent = 9000;
chip->midi_full = 1;
OpenPOWER on IntegriCloud