usb: Add native DSD support for Gustard DAC-X20U
diff mbox

Message ID 1440143315-4712-1-git-send-email-gtmkramer@xs4all.nl
State New
Headers show

Commit Message

Jurgen Kramer Aug. 21, 2015, 7:48 a.m. UTC
This patch adds native DSD support for the Gustard DAC-X20U.

Signed-off-by: Jurgen Kramer <gtmkramer@xs4all.nl>
---
 sound/usb/quirks.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Aug. 21, 2015, 8:29 a.m. UTC | #1
On Fri, 21 Aug 2015 09:48:35 +0200,
Jurgen Kramer wrote:
> 
> This patch adds native DSD support for the Gustard DAC-X20U.
> 
> Signed-off-by: Jurgen Kramer <gtmkramer@xs4all.nl>

Applied, thanks.


Takashi

> ---
>  sound/usb/quirks.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index 754e689..00ebc0c 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -1268,6 +1268,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
>  			return SNDRV_PCM_FMTBIT_DSD_U32_BE;
>  		break;
>  
> +	case USB_ID(0x20b1, 0x000a): /* Gustard DAC-X20U */
>  	case USB_ID(0x20b1, 0x2009): /* DIYINHK DSD DXD 384kHz USB to I2S/DSD */
>  	case USB_ID(0x20b1, 0x2023): /* JLsounds I2SoverUSB */
>  		if (fp->altsetting == 3)
> -- 
> 2.1.0
>

Patch
diff mbox

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 754e689..00ebc0c 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1268,6 +1268,7 @@  u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
 			return SNDRV_PCM_FMTBIT_DSD_U32_BE;
 		break;
 
+	case USB_ID(0x20b1, 0x000a): /* Gustard DAC-X20U */
 	case USB_ID(0x20b1, 0x2009): /* DIYINHK DSD DXD 384kHz USB to I2S/DSD */
 	case USB_ID(0x20b1, 0x2023): /* JLsounds I2SoverUSB */
 		if (fp->altsetting == 3)