diff mbox

ALSA: usb-audio: add DSD support for new Amanero PID

Message ID 1503042134-6681-1-git-send-email-jussi@sonarnerd.net (mailing list archive)
State New, archived
Headers show

Commit Message

Jussi Laako Aug. 18, 2017, 7:42 a.m. UTC
Add DSD support for new Amanero Combo384 firmware version with a new
PID. This firmware uses DSD_U32_BE.

Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
---
 sound/usb/quirks.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Takashi Iwai Aug. 18, 2017, 8:14 a.m. UTC | #1
On Fri, 18 Aug 2017 09:42:14 +0200,
Jussi Laako wrote:
> 
> Add DSD support for new Amanero Combo384 firmware version with a new
> PID. This firmware uses DSD_U32_BE.
> 
> Signed-off-by: Jussi Laako <jussi@sonarnerd.net>

Applied, thanks.


Takashi
diff mbox

Patch

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 2eb6e0d..c09a28b 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1374,6 +1374,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;