aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJurgen Kramer <gtmkramer@xs4all.nl>2014-12-17 11:45:20 -0500
committerTakashi Iwai <tiwai@suse.de>2014-12-17 11:55:20 -0500
commit38f74d5b82b329dff5bdf8626e8776a36a1835da (patch)
tree9b17e9cc1497ac0bebaf174e1b61d31f1f577d26 /sound
parent4344aec84bd84b58a01347f0db7693f73fb6473d (diff)
ALSA: usb-audio: add native DSD support for Matrix Audio DACs
This patch adds native DSD support for two XMOS based DACs from Matrix Audio: - X-Sabre - Mini-i Pro Signed-off-by: Jurgen Kramer <gtmkramer@xs4all.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/quirks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 4dbfb3d18ee2..a7398412310b 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1245,8 +1245,9 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
1245 1245
1246 /* XMOS based USB DACs */ 1246 /* XMOS based USB DACs */
1247 switch (chip->usb_id) { 1247 switch (chip->usb_id) {
1248 /* iFi Audio micro/nano iDSD */ 1248 case USB_ID(0x20b1, 0x3008): /* iFi Audio micro/nano iDSD */
1249 case USB_ID(0x20b1, 0x3008): 1249 case USB_ID(0x20b1, 0x2008): /* Matrix Audio X-Sabre */
1250 case USB_ID(0x20b1, 0x300a): /* Matrix Audio Mini-i Pro */
1250 if (fp->altsetting == 2) 1251 if (fp->altsetting == 2)
1251 return SNDRV_PCM_FMTBIT_DSD_U32_BE; 1252 return SNDRV_PCM_FMTBIT_DSD_U32_BE;
1252 break; 1253 break;