aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/xonar_pcm179x.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-10-04 07:22:51 -0400
committerTakashi Iwai <tiwai@suse.de>2010-10-05 12:11:19 -0400
commit2b830bae1fc2a27b3b0ab86091013bdec3c12427 (patch)
tree9d4aca6b06d9ab09abd9e444cd08cc64e518cf22 /sound/pci/oxygen/xonar_pcm179x.c
parentb6ca8ab399d913eed0d89d65d6b768337a3d20d7 (diff)
ALSA: virtuoso: add HDAV1.3 Slim PCI ID
Add a PCI ID for the Xonar HDAV1.3 Slim. There is no actual support, but the presence of the ID allows the EEPROM repair code to work for this card. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/xonar_pcm179x.c')
-rw-r--r--sound/pci/oxygen/xonar_pcm179x.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/pci/oxygen/xonar_pcm179x.c b/sound/pci/oxygen/xonar_pcm179x.c
index 338f88567f57..571d0ae42afb 100644
--- a/sound/pci/oxygen/xonar_pcm179x.c
+++ b/sound/pci/oxygen/xonar_pcm179x.c
@@ -132,6 +132,18 @@
132 * GPIO 5 <- 0 132 * GPIO 5 <- 0
133 */ 133 */
134 134
135/*
136 * Xonar HDAV1.3 Slim
137 * ------------------
138 *
139 * CMI8788:
140 *
141 * GPIO 1 -> enable output
142 *
143 * TXD -> HDMI controller
144 * RXD <- HDMI controller
145 */
146
135#include <linux/pci.h> 147#include <linux/pci.h>
136#include <linux/delay.h> 148#include <linux/delay.h>
137#include <linux/mutex.h> 149#include <linux/mutex.h>
@@ -1101,6 +1113,9 @@ int __devinit get_xonar_pcm179x_model(struct oxygen *chip,
1101 chip->model.resume = xonar_stx_resume; 1113 chip->model.resume = xonar_stx_resume;
1102 chip->model.set_dac_params = set_pcm1796_params; 1114 chip->model.set_dac_params = set_pcm1796_params;
1103 break; 1115 break;
1116 case 0x835e:
1117 snd_printk(KERN_ERR "the HDAV1.3 Slim is not supported\n");
1118 return -ENODEV;
1104 default: 1119 default:
1105 return -EINVAL; 1120 return -EINVAL;
1106 } 1121 }