diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-01-11 04:33:40 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-01-11 11:54:11 -0500 |
commit | 5fc51524746430179c676297fd48aaab28e1b85f (patch) | |
tree | a19c86d1900c30018c934b22a59f1cfddac58511 /sound/pci/oxygen | |
parent | e92d457514c957f293c4706a06a25833061d9b88 (diff) |
ALSA: oxygen: fix CD/MIDI for X-Meridian (2G)
Enable the X-Meridian's CD input and the X-Meridian 2G's potential
MIDI ports.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen')
-rw-r--r-- | sound/pci/oxygen/oxygen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c index be264d33f9b5..db39cfc3b4f3 100644 --- a/sound/pci/oxygen/oxygen.c +++ b/sound/pci/oxygen/oxygen.c | |||
@@ -695,6 +695,8 @@ static int __devinit get_oxygen_model(struct oxygen *chip, | |||
695 | PLAYBACK_1_TO_SPDIF | | 695 | PLAYBACK_1_TO_SPDIF | |
696 | CAPTURE_0_FROM_I2S_2 | | 696 | CAPTURE_0_FROM_I2S_2 | |
697 | CAPTURE_1_FROM_SPDIF; | 697 | CAPTURE_1_FROM_SPDIF; |
698 | if (id->driver_data == MODEL_MERIDIAN) | ||
699 | chip->model.device_config |= AC97_CD_INPUT; | ||
698 | break; | 700 | break; |
699 | case MODEL_CLARO: | 701 | case MODEL_CLARO: |
700 | chip->model.init = claro_init; | 702 | chip->model.init = claro_init; |
@@ -743,6 +745,7 @@ static int __devinit get_oxygen_model(struct oxygen *chip, | |||
743 | break; | 745 | break; |
744 | } | 746 | } |
745 | if (id->driver_data == MODEL_MERIDIAN || | 747 | if (id->driver_data == MODEL_MERIDIAN || |
748 | id->driver_data == MODEL_MERIDIAN_2G || | ||
746 | id->driver_data == MODEL_CLARO_HALO) { | 749 | id->driver_data == MODEL_CLARO_HALO) { |
747 | chip->model.misc_flags = OXYGEN_MISC_MIDI; | 750 | chip->model.misc_flags = OXYGEN_MISC_MIDI; |
748 | chip->model.device_config |= MIDI_OUTPUT | MIDI_INPUT; | 751 | chip->model.device_config |= MIDI_OUTPUT | MIDI_INPUT; |