diff options
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 4cbd0633c5c2..a11c2c8bda53 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -1269,7 +1269,7 @@ static void set_td_timer(struct r8a66597 *r8a66597, struct r8a66597_td *td) | |||
1269 | time = 30; | 1269 | time = 30; |
1270 | break; | 1270 | break; |
1271 | default: | 1271 | default: |
1272 | time = 300; | 1272 | time = 50; |
1273 | break; | 1273 | break; |
1274 | } | 1274 | } |
1275 | 1275 | ||
@@ -1785,6 +1785,7 @@ static void r8a66597_td_timer(unsigned long _r8a66597) | |||
1785 | pipe = td->pipe; | 1785 | pipe = td->pipe; |
1786 | pipe_stop(r8a66597, pipe); | 1786 | pipe_stop(r8a66597, pipe); |
1787 | 1787 | ||
1788 | /* Select a different address or endpoint */ | ||
1788 | new_td = td; | 1789 | new_td = td; |
1789 | do { | 1790 | do { |
1790 | list_move_tail(&new_td->queue, | 1791 | list_move_tail(&new_td->queue, |
@@ -1794,7 +1795,8 @@ static void r8a66597_td_timer(unsigned long _r8a66597) | |||
1794 | new_td = td; | 1795 | new_td = td; |
1795 | break; | 1796 | break; |
1796 | } | 1797 | } |
1797 | } while (td != new_td && td->address == new_td->address); | 1798 | } while (td != new_td && td->address == new_td->address && |
1799 | td->pipe->info.epnum == new_td->pipe->info.epnum); | ||
1798 | 1800 | ||
1799 | start_transfer(r8a66597, new_td); | 1801 | start_transfer(r8a66597, new_td); |
1800 | 1802 | ||