OSDN Git Service

ALSA: line6: Return error if device not responding
authorChris Rorvick <chris@rorvick.com>
Wed, 11 Feb 2015 05:03:14 +0000 (23:03 -0600)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2015 09:37:30 +0000 (10:37 +0100)
commitf3dfd1be08cc55f930f32e714fb1967630c47991
treed150f709d2a8d9ad4015db521e1ae376c36cf18b
parente64e94df9916a1db6c85a3677e20926c99a1d0b3
ALSA: line6: Return error if device not responding

Put an upper bound on how long we will wait for the device to respond to
a read/write request (i.e., 100 milliseconds) and return an error if
this is reached.

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c