ALSA: usb-audio: increase control transfer timeout
authorClemens Ladisch <clemens@ladisch.de>
Mon, 26 Sep 2011 19:15:27 +0000 (21:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Sep 2011 07:21:48 +0000 (09:21 +0200)
commit17d900c4a1b50bc191b3ca58cbd78acc04a1c5b3
tree7640521988e285f1afa0e3dd44aa73a5333ccb38
parent6b69a0e520a0dc6579901098d0810bcd2e1ea60b
ALSA: usb-audio: increase control transfer timeout

There are certain devices that are reportedly so slow that they need
more than 100 ms to handle control transfers.  Therefore, increase the
timeout in mixer(_quirks).c to 1000 ms.

The timeout parameter of snd_usb_ctl_msg() is now constant, so we can
drop it.

Reported-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/format.c
sound/usb/helper.c
sound/usb/helper.h
sound/usb/mixer.c
sound/usb/mixer_quirks.c
sound/usb/pcm.c
sound/usb/quirks.c