aboutsummaryrefslogtreecommitdiff
path: root/sound/usb/format.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-08-30 18:52:31 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-31 21:04:53 +0200
commit2e4a263ca80a203ac6109f5932722a716c265395 (patch)
treea91f59190c940f6f005755ce39c15d61a22d8e83 /sound/usb/format.c
parent245baf983cc39524cce39c24d01b276e6e653c9e (diff)
ALSA: snd-usb: fix cross-interface streaming devices
Commit 68e67f40b ("ALSA: snd-usb: move calls to usb_set_interface") saved us some unnecessary calls to snd_usb_set_interface() but ignored the fact that there is at least one device out there which operates on two endpoint in different interfaces simultaniously. Take care for this by catching the case where data and sync endpoints are located on different interfaces and calling snd_usb_set_interface() between the start of the two endpoints. Signed-off-by: Daniel Mack <zonque@gmail.com> Reported-by: Robert M. Albrecht <linux@romal.de> Cc: stable@kernel.org [v3.5+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/format.c')
0 files changed, 0 insertions, 0 deletions