diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-26 23:32:08 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-26 23:32:08 +0200 |
commit | 995e5cb4b2e6b96af4b63c8ebc3f4f6c6e5c8d0d (patch) | |
tree | bfbcfdd422158ed6bca1d77f5450e0626e31eb0a /drivers | |
parent | 6728b56768d42f741c7139ff78d5e1cb6e22da7b (diff) |
apalis/colibri_t30: usb: fix performance regression
Unfortunately that utmi_phy_remotewake_detected() function gets called
one too many times even quite continuously during data transfers and
putting an mdelay() in there has a rather adverse effect on the overall
system performance including of course degrading USB transfer speeds.
Moving the system lock-up avoidance hack further down into the if
clause improves the performance again as this typically is only ever
evaluated once upon actually plugging something in behind a hub.
This fixes a performance regression introduced by the following commit:
apalis/colibri_t30: usb: fix low-speed issue hack
629b91fa046df5213ed3312d2e2b8683e6bdd70c
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions