Home
last modified time | relevance | path

Searched hist:"9 e204d885a6d0ae3696284bacd86e2b94dd936c8" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/musb/
H A Dmusb_dsps.cdiff 9e204d885a6d0ae3696284bacd86e2b94dd936c8 Sat Feb 28 02:02:41 CET 2015 Felipe Balbi <balbi@ti.com> 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>