Re: [PATCH] ALSA: usb-audio: don't retry snd_usb_ctl_msg after timeout

2017-08-18 Thread Takashi Iwai
On Fri, 18 Aug 2017 00:17:46 +0200, Stephen Barber wrote: > > A few calls to snd_usb_ctl_msg wrap the function in a retry loop. In > the worst case, the timeout for snd_usb_ctl_msg is 5 seconds, which when > retried 10 times (for example, if a device is removed) could cause a > probe to hang for ~

[PATCH] ALSA: usb-audio: don't retry snd_usb_ctl_msg after timeout

2017-08-17 Thread Stephen Barber
A few calls to snd_usb_ctl_msg wrap the function in a retry loop. In the worst case, the timeout for snd_usb_ctl_msg is 5 seconds, which when retried 10 times (for example, if a device is removed) could cause a probe to hang for ~50 seconds. Example stack trace from 3.14 which triggered a hung tas