aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen
diff options
context:
space:
mode:
authorSergiu Giurgiu <sgiurgiu11@gmail.com>2012-09-09 05:14:15 -0400
committerTakashi Iwai <tiwai@suse.de>2012-11-05 06:53:16 -0500
commit4492363251235c4499a2d073c5f09121ea23d39d (patch)
tree62146d51cc8155a87bd55c3329336f3fa6480249 /sound/pci/oxygen
parent3bef1c377d1bd8fd879ee5a66cf6f45ba16820cd (diff)
ALSA: virtuoso: Xonar DSX support
This patch adds support for ASUS - Xonar DSX sound cards. Tested on openSUSE 12.2 with kernel: Linux 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux Works: - play sounds - adjust volume on master channel. - mute . Since Xonar DS uses the same chip, everything that works for DS should work for DSX as well. Signed-off-by: Sergiu Giurgiu <sgiurgiu11@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen')
-rw-r--r--sound/pci/oxygen/virtuoso.c1
-rw-r--r--sound/pci/oxygen/xonar_wm87x6.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c
index 3d71423b23bc..8104eab90e51 100644
--- a/sound/pci/oxygen/virtuoso.c
+++ b/sound/pci/oxygen/virtuoso.c
@@ -52,6 +52,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
52 { OXYGEN_PCI_SUBID(0x1043, 0x835d) }, 52 { OXYGEN_PCI_SUBID(0x1043, 0x835d) },
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_BROKEN_EEPROM }, 56 { OXYGEN_PCI_SUBID_BROKEN_EEPROM },
56 { } 57 { }
57}; 58};
diff --git a/sound/pci/oxygen/xonar_wm87x6.c b/sound/pci/oxygen/xonar_wm87x6.c
index 63cff90706bf..b555b620babb 100644
--- a/sound/pci/oxygen/xonar_wm87x6.c
+++ b/sound/pci/oxygen/xonar_wm87x6.c
@@ -1255,7 +1255,6 @@ static void dump_wm87x6_registers(struct oxygen *chip,
1255} 1255}
1256 1256
1257static const struct oxygen_model model_xonar_ds = { 1257static const struct oxygen_model model_xonar_ds = {
1258 .shortname = "Xonar DS",
1259 .longname = "Asus Virtuoso 66", 1258 .longname = "Asus Virtuoso 66",
1260 .chip = "AV200", 1259 .chip = "AV200",
1261 .init = xonar_ds_init, 1260 .init = xonar_ds_init,
@@ -1327,6 +1326,11 @@ int __devinit get_xonar_wm87x6_model(struct oxygen *chip,
1327 switch (id->subdevice) { 1326 switch (id->subdevice) {
1328 case 0x838e: 1327 case 0x838e:
1329 chip->model = model_xonar_ds; 1328 chip->model = model_xonar_ds;
1329 chip->model.shortname = "Xonar DS";
1330 break;
1331 case 0x8522:
1332 chip->model = model_xonar_ds;
1333 chip->model.shortname = "Xonar DSX";
1330 break; 1334 break;
1331 case 0x835e: 1335 case 0x835e:
1332 chip->model = model_xonar_hdav_slim; 1336 chip->model = model_xonar_hdav_slim;