Commit d8808d2e authored by Jussi Laako's avatar Jussi Laako Committed by Greg Kroah-Hartman

ALSA: usb-audio: DSD auto-detection for Playback Designs

[ Upstream commit eb7505d5 ]

Add DSD support auto-detection for newer Playback Designs devices. Older
device generations have a different USB interface implementation.

Keep the auto-detection VID whitelist sorted.
Signed-off-by: default avatarJussi Laako <jussi@sonarnerd.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 83131743
...@@ -1343,7 +1343,8 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, ...@@ -1343,7 +1343,8 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
struct usb_interface *iface; struct usb_interface *iface;
/* Playback Designs */ /* Playback Designs */
if (USB_ID_VENDOR(chip->usb_id) == 0x23ba) { if (USB_ID_VENDOR(chip->usb_id) == 0x23ba &&
USB_ID_PRODUCT(chip->usb_id) < 0x0110) {
switch (fp->altsetting) { switch (fp->altsetting) {
case 1: case 1:
fp->dsd_dop = true; fp->dsd_dop = true;
...@@ -1431,8 +1432,9 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, ...@@ -1431,8 +1432,9 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
* from XMOS/Thesycon * from XMOS/Thesycon
*/ */
switch (USB_ID_VENDOR(chip->usb_id)) { switch (USB_ID_VENDOR(chip->usb_id)) {
case 0x20b1: /* XMOS based devices */
case 0x152a: /* Thesycon devices */ case 0x152a: /* Thesycon devices */
case 0x20b1: /* XMOS based devices */
case 0x23ba: /* Playback Designs */
case 0x25ce: /* Mytek devices */ case 0x25ce: /* Mytek devices */
case 0x2ab6: /* T+A devices */ case 0x2ab6: /* T+A devices */
case 0x3842: /* EVGA */ case 0x3842: /* EVGA */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment