diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-25 16:43:02 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-26 16:45:26 +0100 |
commit | ece7a36d407d4ad1e9a1ddfb920a7007cf86a9d3 (patch) | |
tree | bb137c5de4e69997b574599d80ec48b009da50ed /sound/pci/echoaudio/midi.c | |
parent | 2b96a7f1fe6678e92850d5a150f1bf361ae1cb8e (diff) | |
download | talos-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.c | 3 |
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; |