Gerd Hoffmann 3ae7eb88c4 ehci: fix overflow in frame timer code
In case the frame timer doesn't run for a while due to the host being
busy skipped_uframes can become big enough that UFRAME_TIMER_NS *
skipped_uframes overflows.  Which in turn throws off all subsequent
ehci frame timer calculations.

Reported-by: 李林 <8610_28@163.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170515104543.32044-1-kraxel@redhat.com
2017-05-29 14:03:35 +02:00
..
2017-05-18 10:05:52 +01:00
2017-05-18 10:01:08 +01:00
2016-10-04 13:28:07 +01:00
2017-05-18 10:01:08 +01:00
2017-01-27 18:08:00 +01:00
2017-05-18 10:05:52 +01:00
2017-05-18 10:05:52 +01:00
2016-05-18 15:04:27 +03:00
2017-01-27 18:07:59 +01:00
2017-05-18 10:05:52 +01:00
2017-05-17 10:37:01 -03:00
2017-05-18 10:01:08 +01:00
2016-01-29 15:07:25 +00:00
2017-05-17 10:37:01 -03:00
2017-05-17 10:37:01 -03:00
2016-10-28 18:17:24 +03:00