aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/endpoint.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-08-24 07:52:41 +0200
committerTakashi Iwai <tiwai@suse.de>2021-08-24 07:52:41 +0200
commit1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44 (patch)
tree4d6e06812b9caacdef70c9f27f3afa0dc4622092 /sound/usb/endpoint.c
parentASoC: intel: atom: Revert PCM buffer address setup workaround again (diff)
parentALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup (diff)
downloadlinux-dev-1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44.tar.xz
linux-dev-1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44.zip
Merge branch 'for-linus' into for-next
Diffstat (limited to 'sound/usb/endpoint.c')
-rw-r--r--sound/usb/endpoint.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index d33685874a6b..e6d58d7674a0 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -1293,6 +1293,11 @@ int snd_usb_endpoint_configure(struct snd_usb_audio *chip,
* to be set up before parameter setups
*/
iface_first = ep->cur_audiofmt->protocol == UAC_VERSION_1;
+ /* Workaround for Sony WALKMAN NW-A45 DAC;
+ * it requires the interface setup at first like UAC1
+ */
+ if (chip->usb_id == USB_ID(0x054c, 0x0b8c))
+ iface_first = true;
if (iface_first) {
err = endpoint_set_interface(chip, ep, true);
if (err < 0)