usb/isp1760: Fix problems that trigger WARNING at line 1136.
commit6477acc0814fc7aadfe3d723d2596fb4eb6d1732
authorArvid Brodin <arvid.brodin@enea.com>
Sun, 21 Aug 2011 06:29:28 +0000 (21 08:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 22:32:46 +0000 (22 15:32 -0700)
tree58246dfcdaf790e3f29c99f95a38faa0639a2bfd
parent38679b720014d89b192c38d4c604f5a718b9788d
usb/isp1760: Fix problems that trigger WARNING at line 1136.

1) A bug in the usage of time_after() in errata2_function().

2) Clear done_maps just prior to starting a new transfer in
   start_bus_transfer(), instead of just after, when done_map bits might have
   been validly set by the started transfer.

Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c