* [PATCH] Support both DSD LE/BE Amanero firmware versions
@ 2016-12-17 21:51 Jussi Laako
2016-12-28 15:07 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Jussi Laako @ 2016-12-17 21:51 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai, Jussi Laako, gtmkramer
Add DSD support for both little endian (DSD_U32_LE) and big endian
(DSD_U32_BE) version of the Amanero firmware.
Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
---
sound/usb/quirks.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index b3fd238..f5c68ea 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1359,6 +1359,21 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
if (fp->altsetting == 3)
return SNDRV_PCM_FMTBIT_DSD_U32_BE;
break;
+
+ /* Amanero Combo384 USB interface with native DSD support */
+ case USB_ID(0x16d0, 0x071a):
+ if (fp->altsetting == 2) {
+ switch (chip->dev->descriptor.bcdDevice) {
+ case 0x199:
+ return SNDRV_PCM_FMTBIT_DSD_U32_LE;
+ case 0x19b:
+ return SNDRV_PCM_FMTBIT_DSD_U32_BE;
+ default:
+ break;
+ }
+ }
+ break;
+
default:
break;
}
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Support both DSD LE/BE Amanero firmware versions
2016-12-17 21:51 [PATCH] Support both DSD LE/BE Amanero firmware versions Jussi Laako
@ 2016-12-28 15:07 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2016-12-28 15:07 UTC (permalink / raw)
To: Jussi Laako; +Cc: alsa-devel, gtmkramer
On Sat, 17 Dec 2016 22:51:41 +0100,
Jussi Laako wrote:
>
> Add DSD support for both little endian (DSD_U32_LE) and big endian
> (DSD_U32_BE) version of the Amanero firmware.
>
> Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
Applied, thanks.
Takashi
> ---
> sound/usb/quirks.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index b3fd238..f5c68ea 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -1359,6 +1359,21 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
> if (fp->altsetting == 3)
> return SNDRV_PCM_FMTBIT_DSD_U32_BE;
> break;
> +
> + /* Amanero Combo384 USB interface with native DSD support */
> + case USB_ID(0x16d0, 0x071a):
> + if (fp->altsetting == 2) {
> + switch (chip->dev->descriptor.bcdDevice) {
> + case 0x199:
> + return SNDRV_PCM_FMTBIT_DSD_U32_LE;
> + case 0x19b:
> + return SNDRV_PCM_FMTBIT_DSD_U32_BE;
> + default:
> + break;
> + }
> + }
> + break;
> +
> default:
> break;
> }
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-28 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-17 21:51 [PATCH] Support both DSD LE/BE Amanero firmware versions Jussi Laako
2016-12-28 15:07 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.