ALSA: usb-audio: add DSD support for new Amanero PID
authorJussi Laako <jussi@sonarnerd.net>
Fri, 18 Aug 2017 07:42:14 +0000 (10:42 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Aug 2017 08:13:21 +0000 (10:13 +0200)
Add DSD support for new Amanero Combo384 firmware version with a new
PID. This firmware uses DSD_U32_BE.

Fixes: 3eff682d765b ("ALSA: usb-audio: Support both DSD LE/BE Amanero firmware versions")
Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c

index f3e9e30..6a03f96 100644 (file)
@@ -1375,6 +1375,10 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
                        }
                }
                break;
+       case USB_ID(0x16d0, 0x0a23):
+               if (fp->altsetting == 2)
+                       return SNDRV_PCM_FMTBIT_DSD_U32_BE;
+               break;
 
        default:
                break;