summaryrefslogtreecommitdiffstats
path: root/sound/usb/quirks.c
diff options
context:
space:
mode:
authorJurgen Kramer2014-11-28 17:32:53 +0100
committerTakashi Iwai2014-11-28 18:00:50 +0100
commit7a2e9ddc903225d8fb3a510a842144a239017ee4 (patch)
tree8d4415ab8b377633e9bc613d850774d6a520c45d /sound/usb/quirks.c
parentALSA: hda - Allow forcibly enabling/disabling snoop (diff)
downloadkernel-qcow2-linux-7a2e9ddc903225d8fb3a510a842144a239017ee4.tar.gz
kernel-qcow2-linux-7a2e9ddc903225d8fb3a510a842144a239017ee4.tar.xz
kernel-qcow2-linux-7a2e9ddc903225d8fb3a510a842144a239017ee4.zip
ALSA: usb-audio: Add native DSD support for Denon/Marantz DACs
This patch adds native DSD support for the following devices: - Marantz SA-14S1 - Marants HD-DAC1 Signed-off-by: Jurgen Kramer <gtmkramer@xs4all.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.c')
-rw-r--r--sound/usb/quirks.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 2c1018e447b1..a9d4add89bbe 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1213,5 +1213,16 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
break;
}
+ /* Denon/Marantz devices with USB DAC functionality */
+ switch (chip->usb_id) {
+ case USB_ID(0x154e, 0x3005): /* Marantz HD-DAC1 */
+ case USB_ID(0x154e, 0x3006): /* Marantz SA-14S1 */
+ if (fp->altsetting == 2)
+ return SNDRV_PCM_FMTBIT_DSD_U32_BE;
+ break;
+ default:
+ break;
+ }
+
return 0;
}