commit | 9df56d9bdeeae16af53487d1d4e8d78cd36948bc | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <der.herr@hofr.at> | Fri Jan 23 08:15:53 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 25 19:59:19 2015 +0800 |
tree | 76d886d5eee4ac5ee50a7de213d79333c04af930 | |
parent | a78d131265661bcc6a022b0d0cc4904a58abd362 [diff] |
staging: rts5208: use msecs_to_jiffies for timeouts This is only an API consolidation and should make things more readable Converting milliseconds to jiffies by val * HZ / 1000 is technically not wrong but msecs_to_jiffies(val) is the cleaner solution and handles corner cases correctly. Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>