ALSA: usb: add more device quirks for USB DSD devices

Add some more devices that need quirks to handle DSD modes correctly.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Reported-and-tested-by: Thomas Gresens <tgresens@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Daniel Mack 2018-02-11 09:50:27 -04:00 коммит произвёл Takashi Iwai
Родитель 447cae58ce
Коммит 7c74866bae
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -1363,8 +1363,11 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
return SNDRV_PCM_FMTBIT_DSD_U32_BE; return SNDRV_PCM_FMTBIT_DSD_U32_BE;
break; break;
/* Amanero Combo384 USB interface with native DSD support */ /* Amanero Combo384 USB based DACs with native DSD support */
case USB_ID(0x16d0, 0x071a): case USB_ID(0x16d0, 0x071a): /* Amanero - Combo384 */
case USB_ID(0x2ab6, 0x0004): /* T+A DAC8DSD-V2.0, MP1000E-V2.0, MP2000R-V2.0, MP2500R-V2.0, MP3100HV-V2.0 */
case USB_ID(0x2ab6, 0x0005): /* T+A USB HD Audio 1 */
case USB_ID(0x2ab6, 0x0006): /* T+A USB HD Audio 2 */
if (fp->altsetting == 2) { if (fp->altsetting == 2) {
switch (le16_to_cpu(chip->dev->descriptor.bcdDevice)) { switch (le16_to_cpu(chip->dev->descriptor.bcdDevice)) {
case 0x199: case 0x199: