diff options
author | Daniel Mack <zonque@gmail.com> | 2012-07-12 13:08:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-13 09:31:42 +0200 |
commit | 68e67f40b7343383517c3f951b4b8db7626406bc (patch) | |
tree | a0562c103da6384a31362d4e1a80b9000f5d53fe /sound/sound_core.c | |
parent | 9e9b594661e8dee54955607277c937c3ff3a5f01 (diff) | |
download | blackbird-op-linux-68e67f40b7343383517c3f951b4b8db7626406bc.tar.gz blackbird-op-linux-68e67f40b7343383517c3f951b4b8db7626406bc.zip |
ALSA: snd-usb: move calls to usb_set_interface
The rework of the snd-usb endpoint logic moved the calls to
snd_usb_set_interface() into the snd_usb_endpoint implemenation. This
changed the order in which these calls are issued to the device, and
thereby caused regressions for some webcams.
Fix this by moving the calls back to pcm.c for now to make it work again
and use snd_usb_endpoint_activate() to really tear down all remaining
URBs in the flight, consequently fixing another regression caused by USB
packets on the wire after altsetting 0 has been selected.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-and-tested-by: Philipp Dreimann <philipp@dreimann.net>
Reported-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions