diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2014-08-04 09:17:55 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-08-04 09:20:48 -0400 |
commit | f42bb22243d2ae264d721b055f836059fe35321f (patch) | |
tree | 15f3289e41b21bfd475c0aabb7418d94389eaf5f /sound/pci | |
parent | 47efe636adec37d6c259a69ee53d246cd4bba172 (diff) |
ALSA: virtuoso: add Xonar Essence STX II support
Just add the PCI ID for the STX II. It appears to work the same as the
STX, except for the addition of the not-yet-supported daughterboard.
Tested-by: Mario <fugazzi99@gmail.com>
Tested-by: corubba <corubba@gmx.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/Kconfig | 4 | ||||
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 1 | ||||
-rw-r--r-- | sound/pci/oxygen/xonar_pcm179x.c | 12 |
3 files changed, 13 insertions, 4 deletions
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig index 3a3a3a71088b..50dd0086cfb1 100644 --- a/sound/pci/Kconfig +++ b/sound/pci/Kconfig | |||
@@ -858,8 +858,8 @@ config SND_VIRTUOSO | |||
858 | select SND_JACK if INPUT=y || INPUT=SND | 858 | select SND_JACK if INPUT=y || INPUT=SND |
859 | help | 859 | help |
860 | Say Y here to include support for sound cards based on the | 860 | Say Y here to include support for sound cards based on the |
861 | Asus AV66/AV100/AV200 chips, i.e., Xonar D1, DX, D2, D2X, DS, | 861 | Asus AV66/AV100/AV200 chips, i.e., Xonar D1, DX, D2, D2X, DS, DSX, |
862 | Essence ST (Deluxe), and Essence STX. | 862 | Essence ST (Deluxe), and Essence STX (II). |
863 | Support for the HDAV1.3 (Deluxe) and HDAV1.3 Slim is experimental; | 863 | Support for the HDAV1.3 (Deluxe) and HDAV1.3 Slim is experimental; |
864 | for the Xense, missing. | 864 | for the Xense, missing. |
865 | 865 | ||
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 64b9fda5f04a..dbbbacfd535e 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -53,6 +53,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = { | |||
53 | { OXYGEN_PCI_SUBID(0x1043, 0x835e) }, | 53 | { OXYGEN_PCI_SUBID(0x1043, 0x835e) }, |
54 | { OXYGEN_PCI_SUBID(0x1043, 0x838e) }, | 54 | { OXYGEN_PCI_SUBID(0x1043, 0x838e) }, |
55 | { OXYGEN_PCI_SUBID(0x1043, 0x8522) }, | 55 | { OXYGEN_PCI_SUBID(0x1043, 0x8522) }, |
56 | { OXYGEN_PCI_SUBID(0x1043, 0x85f4) }, | ||
56 | { OXYGEN_PCI_SUBID_BROKEN_EEPROM }, | 57 | { OXYGEN_PCI_SUBID_BROKEN_EEPROM }, |
57 | { } | 58 | { } |
58 | }; | 59 | }; |
diff --git a/sound/pci/oxygen/xonar_pcm179x.c b/sound/pci/oxygen/xonar_pcm179x.c index c8c7f2c9b355..e02605931669 100644 --- a/sound/pci/oxygen/xonar_pcm179x.c +++ b/sound/pci/oxygen/xonar_pcm179x.c | |||
@@ -100,8 +100,8 @@ | |||
100 | */ | 100 | */ |
101 | 101 | ||
102 | /* | 102 | /* |
103 | * Xonar Essence ST (Deluxe)/STX | 103 | * Xonar Essence ST (Deluxe)/STX (II) |
104 | * ----------------------------- | 104 | * ---------------------------------- |
105 | * | 105 | * |
106 | * CMI8788: | 106 | * CMI8788: |
107 | * | 107 | * |
@@ -1138,6 +1138,14 @@ int get_xonar_pcm179x_model(struct oxygen *chip, | |||
1138 | chip->model.resume = xonar_stx_resume; | 1138 | chip->model.resume = xonar_stx_resume; |
1139 | chip->model.set_dac_params = set_pcm1796_params; | 1139 | chip->model.set_dac_params = set_pcm1796_params; |
1140 | break; | 1140 | break; |
1141 | case 0x85f4: | ||
1142 | chip->model = model_xonar_st; | ||
1143 | /* TODO: daughterboard support */ | ||
1144 | chip->model.shortname = "Xonar STX II"; | ||
1145 | chip->model.init = xonar_stx_init; | ||
1146 | chip->model.resume = xonar_stx_resume; | ||
1147 | chip->model.set_dac_params = set_pcm1796_params; | ||
1148 | break; | ||
1141 | default: | 1149 | default: |
1142 | return -EINVAL; | 1150 | return -EINVAL; |
1143 | } | 1151 | } |