[ALSA] fix port type bits
[linux-3.10.git] / sound / drivers / opl3 / opl3_oss.c
index fccf019a6d85968a5ff8f26953d0f9dba655d654..d48f8dee2d98d9daac501d0c215c06ef048e55bc 100644 (file)
@@ -99,8 +99,7 @@ static int snd_opl3_oss_create_port(struct snd_opl3 * opl3)
        opl3->oss_chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks,
                                                          SNDRV_SEQ_PORT_CAP_WRITE,
                                                          SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC |
-                                                         SNDRV_SEQ_PORT_TYPE_MIDI_GM |
-                                                         SNDRV_SEQ_PORT_TYPE_SYNTH,
+                                                         SNDRV_SEQ_PORT_TYPE_MIDI_GM,
                                                          voices, voices,
                                                          name);
        if (opl3->oss_chset->port < 0) {