diff options
author | Yue Wang <yuleopen@gmail.com> | 2018-07-23 04:56:46 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-23 05:29:59 -0400 |
commit | 1ea0358ecb848058b35b6da13d7f4c08610a73a8 (patch) | |
tree | a7240063251f1d3156d4f81ef79c2fcef1815f14 /sound/usb/quirks.c | |
parent | d10ee9c542365bdc0a7497306e21ff6c7f2172b0 (diff) |
ALSA: usb-audio: Generic DSD detection for Thesycon-based implementations
Thesycon provides solutions to XMOS chips, and has its own device
vendor id.
In this patch, we use generic method to detect DSD capability of
Thesycon-based UAC2 implementations in order to support a wide range
of current and future devices.
The patch will enable the SNDRV_PCM_FMTBIT_DSD_U32_BE bit for the DAC
hence enable native DSD playback up to DSD512 format.
Signed-off-by: Yue Wang <yuleopen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.c')
-rw-r--r-- | sound/usb/quirks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 02b6cc02767f..06ae3f5adf4b 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c | |||
@@ -1443,6 +1443,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, | |||
1443 | */ | 1443 | */ |
1444 | switch (USB_ID_VENDOR(chip->usb_id)) { | 1444 | switch (USB_ID_VENDOR(chip->usb_id)) { |
1445 | case 0x20b1: /* XMOS based devices */ | 1445 | case 0x20b1: /* XMOS based devices */ |
1446 | case 0x152a: /* Thesycon devices */ | ||
1446 | case 0x25ce: /* Mytek devices */ | 1447 | case 0x25ce: /* Mytek devices */ |
1447 | if (fp->dsd_raw) | 1448 | if (fp->dsd_raw) |
1448 | return SNDRV_PCM_FMTBIT_DSD_U32_BE; | 1449 | return SNDRV_PCM_FMTBIT_DSD_U32_BE; |