diff mbox series

ALSA: usb-audio: Add Hiby device family to quirks for native DSD support

Message ID 20190917074937.157802-1-ilya.pshonkin@netforce.ua (mailing list archive)
State New, archived
Headers show
Series ALSA: usb-audio: Add Hiby device family to quirks for native DSD support | expand

Commit Message

ilya.pshonkin@netforce.ua Sept. 17, 2019, 7:49 a.m. UTC
From: Ilya Pshonkin <sudokamikaze@protonmail.com>

This patch adds quirk VID ID for Hiby portable players family with native DSD playback support

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

Comments

Takashi Iwai Sept. 17, 2019, 7:55 a.m. UTC | #1
On Tue, 17 Sep 2019 09:49:34 +0200,
<ilya.pshonkin@netforce.ua> wrote:
> 
> From: Ilya Pshonkin <sudokamikaze@protonmail.com>
> 
> This patch adds quirk VID ID for Hiby portable players family with native DSD playback support
> 
> Signed-off-by: Ilya Pshonkin <sudokamikaze@protonmail.com>

Thanks, applied now (with CC to stable).


Takashi
diff mbox series

Patch

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 78858918cbc1..64a8d73972e3 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1655,6 +1655,7 @@  u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
 	case 0x152a:  /* Thesycon devices */
 	case 0x25ce:  /* Mytek devices */
 	case 0x2ab6:  /* T+A devices */
+	case 0xc502:  /* HiBy devices */
 		if (fp->dsd_raw)
 			return SNDRV_PCM_FMTBIT_DSD_U32_BE;
 		break;