aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652/hdspm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/rme9652/hdspm.c')
-rw-r--r--sound/pci/rme9652/hdspm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 78f6ab5dbdd8..0ed4b4e981d8 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -6291,8 +6291,10 @@ static int __devinit snd_hdspm_create_pcm(struct snd_card *card,
6291 6291
6292static inline void snd_hdspm_initialize_midi_flush(struct hdspm * hdspm) 6292static inline void snd_hdspm_initialize_midi_flush(struct hdspm * hdspm)
6293{ 6293{
6294 snd_hdspm_flush_midi_input(hdspm, 0); 6294 int i;
6295 snd_hdspm_flush_midi_input(hdspm, 1); 6295
6296 for (i = 0; i < hdspm->midiPorts; i++)
6297 snd_hdspm_flush_midi_input(hdspm, i);
6296} 6298}
6297 6299
6298static int __devinit snd_hdspm_create_alsa_devices(struct snd_card *card, 6300static int __devinit snd_hdspm_create_alsa_devices(struct snd_card *card,