diff options
author | Felipe Balbi <balbi@ti.com> | 2015-02-28 04:02:41 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-10 23:33:32 +0300 |
commit | 9e204d885a6d0ae3696284bacd86e2b94dd936c8 (patch) | |
tree | c60eb34d7b9648f7547e7774e6ac9d81a62f47e6 /Documentation/devicetree/bindings/usb/dwc3.txt | |
parent | 043f5b75dd2b1fbd45d5f367d50e5ae5b4afa955 (diff) | |
download | linux-9e204d885a6d0ae3696284bacd86e2b94dd936c8.tar.xz |
usb: musb: dsps: use msecs_to_jiffies instead
when polling, we were using n * HZ (where n is
an integer in seconds), however HZ isn't always
correct if we're using cpufreq. A better way
is to use msecs_to_jiffies(n) (where n is now
an integer in miliseconds).
while at that, also rename poll_seconds to poll_timeout
and change its type to unsigned int.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/dwc3.txt')
0 files changed, 0 insertions, 0 deletions