mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add Hiby R3 to quirks for native DSD support
@ 2019-08-26 16:09 ilya.pshonkin
  2019-08-26 17:10 ` Jussi Laako
  0 siblings, 1 reply; 3+ messages in thread
From: ilya.pshonkin @ 2019-08-26 16:09 UTC (permalink / raw)
  To: ilya.pshonkin
  Cc: Sudokamikaze, Jaroslav Kysela, Takashi Iwai, Jussi Laako,
	Allison Randal, Greg Kroah-Hartman, Richard Fontana,
	Manuel Reinhardt, Thomas Gleixner, Linus Walleij, alsa-devel,
	linux-kernel

From: Sudokamikaze <sudokamikaze@protonmail.com>

This patch adds quirk VID/PID IDs for Hiby R3 portable DSD player DSD support

Signed-off-by: Sudokamikaze <sudokamikaze@protonmail.com>
---
 sound/usb/quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 78858918cbc1..f90418149e4e 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1588,6 +1588,12 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
 		if (fp->altsetting == 2)
 			return SNDRV_PCM_FMTBIT_DSD_U32_BE;
 		break;
+	
+	/* ESS Sabre based USB DACs */
+	case USB_ID(0xc502, 0x0051): /* Hiby R3 */
+		if (fp->altsetting == 4)
+			return SNDRV_PCM_FMTBIT_DSD_U32_BE;
+		break;
 
 	case USB_ID(0x0d8c, 0x0316): /* Hegel HD12 DSD */
 	case USB_ID(0x10cb, 0x0103): /* The Bit Opus #3; with fp->dsd_raw */
-- 
2.23.0


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <DB6PR07MB4296BE759CEDC6F0A6D4E5E3A8A10@DB6PR07MB4296.eurprd07.prod.outlook.com>]

end of thread, other threads:[~2019-08-26 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-26 16:09 [PATCH] ALSA: usb-audio: Add Hiby R3 to quirks for native DSD support ilya.pshonkin
2019-08-26 17:10 ` Jussi Laako
     [not found] <DB6PR07MB4296BE759CEDC6F0A6D4E5E3A8A10@DB6PR07MB4296.eurprd07.prod.outlook.com>
2019-08-26 16:12 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®