]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
USB: ldusb: fix control-message timeout
authorJohan Hovold <johan@kernel.org>
Tue, 22 Oct 2019 15:31:27 +0000 (17:31 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 13 Nov 2019 23:47:34 +0000 (18:47 -0500)
commit761901ac9260514796d0f9e09caafba65502c3c5
treea7417a0224d20b9f771c5c86380e737e555a3794
parentb488da6b8963d29f9e5dc1c08a3f9190bbdb7da3
USB: ldusb: fix control-message timeout

BugLink: https://bugs.launchpad.net/bugs/1852492
commit 52403cfbc635d28195167618690595013776ebde upstream.

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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/misc/ldusb.c