Documentation: USB: fix example bulk-message timeout
authorJohan Hovold <johan@kernel.org>
Mon, 25 Oct 2021 11:51:58 +0000 (13:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Oct 2021 17:12:27 +0000 (19:12 +0200)
commitebcf652dbb22c14a21a01ee5431448f13ffb24d6
tree9859de449d0e23e422d560186c898f442cb90ef6
parente8d6336d9d7198013a7b307107908242a7a53b23
Documentation: USB: fix example bulk-message timeout

USB bulk-message timeouts are specified in milliseconds and should
specifically not vary with CONFIG_HZ.

Use a fixed five-second timeout in the "Writing USB Device Drivers"
example.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211025115159.4954-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/usb/writing_usb_driver.rst