]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff06fdb85caa4a7f04198b01a4a6b6f523a493be
treed150f709d2a8d9ad4015db521e1ae376c36cf18b
parent96252acd97c6272237528483c97d1bd927e23edb
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