diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-08-24 07:52:41 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-08-24 07:52:41 +0200 |
commit | 1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44 (patch) | |
tree | 4d6e06812b9caacdef70c9f27f3afa0dc4622092 /sound/usb/endpoint.c | |
parent | e28ac04a705e946eddc5e7d2fc712dea3f20fe9e (diff) | |
parent | 93ab3eafb0b3551c54175cb38afed3b82356a047 (diff) | |
download | linux-stable-1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44.tar.gz linux-stable-1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44.tar.bz2 linux-stable-1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44.zip |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'sound/usb/endpoint.c')
-rw-r--r-- | sound/usb/endpoint.c | 5 |
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) |