diff options
-rw-r--r-- | sound/pci/ice1712/ews.c | 1 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 7 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1712.h | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/sound/pci/ice1712/ews.c b/sound/pci/ice1712/ews.c index 2e1cf1120582..b135389fec6c 100644 --- a/sound/pci/ice1712/ews.c +++ b/sound/pci/ice1712/ews.c | |||
@@ -1033,6 +1033,7 @@ struct snd_ice1712_card_info snd_ice1712_ews_cards[] __devinitdata = { | |||
1033 | .build_controls = snd_ice1712_ews_add_controls, | 1033 | .build_controls = snd_ice1712_ews_add_controls, |
1034 | .mpu401_1_name = "MIDI-Front DMX6fire", | 1034 | .mpu401_1_name = "MIDI-Front DMX6fire", |
1035 | .mpu401_2_name = "Wavetable DMX6fire", | 1035 | .mpu401_2_name = "Wavetable DMX6fire", |
1036 | .mpu401_2_info_flags = MPU401_INFO_OUTPUT, | ||
1036 | }, | 1037 | }, |
1037 | { } /* terminator */ | 1038 | { } /* terminator */ |
1038 | }; | 1039 | }; |
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index aa5a41fecb08..845907159b74 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -61,7 +61,6 @@ | |||
61 | #include <sound/core.h> | 61 | #include <sound/core.h> |
62 | #include <sound/cs8427.h> | 62 | #include <sound/cs8427.h> |
63 | #include <sound/info.h> | 63 | #include <sound/info.h> |
64 | #include <sound/mpu401.h> | ||
65 | #include <sound/initval.h> | 64 | #include <sound/initval.h> |
66 | 65 | ||
67 | #include <sound/asoundef.h> | 66 | #include <sound/asoundef.h> |
@@ -2739,7 +2738,8 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci, | |||
2739 | if (! c->no_mpu401) { | 2738 | if (! c->no_mpu401) { |
2740 | if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712, | 2739 | if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712, |
2741 | ICEREG(ice, MPU1_CTRL), | 2740 | ICEREG(ice, MPU1_CTRL), |
2742 | MPU401_INFO_INTEGRATED, | 2741 | (c->mpu401_1_info_flags | |
2742 | MPU401_INFO_INTEGRATED), | ||
2743 | ice->irq, 0, | 2743 | ice->irq, 0, |
2744 | &ice->rmidi[0])) < 0) { | 2744 | &ice->rmidi[0])) < 0) { |
2745 | snd_card_free(card); | 2745 | snd_card_free(card); |
@@ -2755,7 +2755,8 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci, | |||
2755 | /* 2nd port used */ | 2755 | /* 2nd port used */ |
2756 | if ((err = snd_mpu401_uart_new(card, 1, MPU401_HW_ICE1712, | 2756 | if ((err = snd_mpu401_uart_new(card, 1, MPU401_HW_ICE1712, |
2757 | ICEREG(ice, MPU2_CTRL), | 2757 | ICEREG(ice, MPU2_CTRL), |
2758 | MPU401_INFO_INTEGRATED, | 2758 | (c->mpu401_2_info_flags | |
2759 | MPU401_INFO_INTEGRATED), | ||
2759 | ice->irq, 0, | 2760 | ice->irq, 0, |
2760 | &ice->rmidi[1])) < 0) { | 2761 | &ice->rmidi[1])) < 0) { |
2761 | snd_card_free(card); | 2762 | snd_card_free(card); |
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h index d4776319a0cd..ce27eac40d4e 100644 --- a/sound/pci/ice1712/ice1712.h +++ b/sound/pci/ice1712/ice1712.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <sound/ak4xxx-adda.h> | 29 | #include <sound/ak4xxx-adda.h> |
30 | #include <sound/ak4114.h> | 30 | #include <sound/ak4114.h> |
31 | #include <sound/pcm.h> | 31 | #include <sound/pcm.h> |
32 | #include <sound/mpu401.h> | ||
32 | 33 | ||
33 | 34 | ||
34 | /* | 35 | /* |
@@ -495,6 +496,8 @@ struct snd_ice1712_card_info { | |||
495 | int (*chip_init)(struct snd_ice1712 *); | 496 | int (*chip_init)(struct snd_ice1712 *); |
496 | int (*build_controls)(struct snd_ice1712 *); | 497 | int (*build_controls)(struct snd_ice1712 *); |
497 | unsigned int no_mpu401: 1; | 498 | unsigned int no_mpu401: 1; |
499 | unsigned int mpu401_1_info_flags; | ||
500 | unsigned int mpu401_2_info_flags; | ||
498 | const char *mpu401_1_name; | 501 | const char *mpu401_1_name; |
499 | const char *mpu401_2_name; | 502 | const char *mpu401_2_name; |
500 | unsigned int eeprom_size; | 503 | unsigned int eeprom_size; |