diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2014-12-04 16:21:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-09 18:58:49 +0100 |
commit | 6d89252a998a695ecb0348fc2d717dc33d90cae9 (patch) | |
tree | 0f5595e1a4d31c87f22d39ddf2241590b03a0729 /drivers/connector | |
parent | xhci: Check if slot is already in default state before moving it there (diff) | |
download | linux-6d89252a998a695ecb0348fc2d717dc33d90cae9.tar.xz linux-6d89252a998a695ecb0348fc2d717dc33d90cae9.zip |
USB: EHCI: fix initialization bug in iso_stream_schedule()
Commit c3ee9b76aa93 (EHCI: improved logic for isochronous scheduling)
introduced the idea of using ehci->last_iso_frame as the origin (or
base) for the circular calculations involved in modifying the
isochronous schedule. However, the new code it added used
ehci->last_iso_frame before the value was properly initialized. This
patch rectifies the mistake by moving the initialization lines earlier
in iso_stream_schedule().
This fixes Bugzilla #72891.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Fixes: c3ee9b76aa93
Reported-by: Joe Bryant <tenminjoe@yahoo.com>
Tested-by: Joe Bryant <tenminjoe@yahoo.com>
Tested-by: Martin Long <martin@longhome.co.uk>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions