|
@@ -464,6 +464,7 @@ static int set_sync_endpoint(struct snd_usb_substream *subs,
|
|
|
}
|
|
}
|
|
|
ep = get_endpoint(alts, 1)->bEndpointAddress;
|
|
ep = get_endpoint(alts, 1)->bEndpointAddress;
|
|
|
if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE &&
|
|
if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE &&
|
|
|
|
|
+ get_endpoint(alts, 0)->bSynchAddress != 0 &&
|
|
|
((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) ||
|
|
((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) ||
|
|
|
(!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) {
|
|
(!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) {
|
|
|
dev_err(&dev->dev,
|
|
dev_err(&dev->dev,
|