USB: ldusb: fix control-message timeout
authorJohan Hovold <johan@kernel.org>
Tue, 22 Oct 2019 15:31:27 +0000 (17:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2019 16:46:24 +0000 (17:46 +0100)
commit52403cfbc635d28195167618690595013776ebde
treeedfe345e361c74c98afe06ab6a3bd426ebedd4d4
parent88f6bf3846ee90bf33aa1ce848cd3bfb3229f4a4
USB: ldusb: fix control-message timeout

USB control-message timeouts are specified in milliseconds, not jiffies.
Waiting 83 minutes for a transfer to complete is a bit excessive.

Fixes: 2824bd250f0b ("[PATCH] USB: add ldusb driver")
Cc: stable <stable@vger.kernel.org> # 2.6.13
Reported-by: syzbot+a4fbb3bb76cda0ea4e58@syzkaller.appspotmail.com
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191022153127.22295-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/ldusb.c