]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ALSA: usb-audio: add usb vendor id as DSD-capable for Khadas devices
authorArtem Lapkin <art@khadas.com>
Tue, 3 Nov 2020 10:08:09 +0000 (18:08 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 10 Dec 2020 11:05:49 +0000 (12:05 +0100)
BugLink: https://bugs.launchpad.net/bugs/1905612
commit 07815a2b3501adeaae6384a25b9c4a9c81dae59f upstream.

Khadas audio devices ( USB_ID_VENDOR 0x3353 )
have DSD-capable implementations from XMOS
need add new usb vendor id for recognition

Signed-off-by: Artem Lapkin <art@khadas.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201103103311.5435-1-art@khadas.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/usb/quirks.c

index cc75d9749e9fae0c4dedf17d7f87a0488ba57e7b..825b6f2efada5a439096cec889c5d855d2bd2db0 100644 (file)
@@ -1732,6 +1732,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
        case 0x278b:  /* Rotel? */
        case 0x292b:  /* Gustard/Ess based devices */
        case 0x2ab6:  /* T+A devices */
+       case 0x3353:  /* Khadas devices */
        case 0x3842:  /* EVGA */
        case 0xc502:  /* HiBy devices */
                if (fp->dsd_raw)