diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-06-06 10:40:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 11:19:27 -0700 |
commit | 7d9852a88cb76b102b60b31949d5777e645f1421 (patch) | |
tree | d71cf9993bffb9b892c45ac2aef784f7bec06991 /drivers/s390/Makefile | |
parent | d9ea21a779278da06d0cbe989594bf542ed213d7 (diff) | |
download | blackbird-op-linux-7d9852a88cb76b102b60b31949d5777e645f1421.tar.gz blackbird-op-linux-7d9852a88cb76b102b60b31949d5777e645f1421.zip |
wusbcore: reduce keepalive threshold from timeout/2 to timeout/3
This patch reduces the keepalive threshold of WUSB host controllers from
timeout/2 to timeout/3. The keepalive timer fires every timeout/2 ms, but
due to rounding errors and jitter, the host may decide not to send a
keepalive at timeout/2. By the time the next timer fires, a full timeout
period may have expired causing the device to be disconnected without ever
having been sent a keepalive. Changing the keepalive threshold to
timeout/3 ensures that at least one keepalive will be sent before a device
is disconnected. The patch also updates the code to use msecs_to_jiffies
consistently.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390/Makefile')
0 files changed, 0 insertions, 0 deletions