aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-02-24 09:26:32 +0900
committerTakashi Iwai <tiwai@suse.de>2016-02-24 16:31:54 +0100
commitb4c23ab1cbfedbebf9f7eecd1bd8a7989f388649 (patch)
tree09b0188e820d211a61482afec313e4ffb69d9f85 /init
parentALSA: hda - hdmi eld control created based on pcm (diff)
downloadlinux-dev-b4c23ab1cbfedbebf9f7eecd1bd8a7989f388649.tar.xz
linux-dev-b4c23ab1cbfedbebf9f7eecd1bd8a7989f388649.zip
ALSA: oxfw: retry MIDI transferring for scs1x at transaction failure
Currently, ALSA oxfw driver has a TODO to retry MIDI transferring at transaction failure. This commit achieves it. Current implementation uses snd_rawmidi_transmit() to transfer messages, thus the target MIDI messages are not in buffer when transaction failure is detected. Although we cannot use a pair of snd_rawmidi_transmit_peek() and snd_ramwidi_transmit_ack(), the messages are still in scs1x specific structure and the data is available for retries. This commit adds a member to the structure for the length of buffered messages, and uses the value again at retries. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions