diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-05-27 19:34:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-01 04:29:50 +0300 |
commit | fdd2db290d9bdfe11c6ee408f8727f1211f720d5 (patch) | |
tree | 6b3adfa030165be16395885c49289dd483d9fac6 /drivers/w1 | |
parent | 0e4a566b9e5c7361c31b939649015e13f066fc38 (diff) | |
download | linux-fdd2db290d9bdfe11c6ee408f8727f1211f720d5.tar.xz |
snsc: pass timeout as HZ independent value
schedule_timeout takes a timeout in jiffies but the code currently is
passing in a constant SCDRV_TIMEOUT which makes this timeout HZ
dependent, so pass it through msecs_to_jiffies() to fix this up.
patch was compile tested with generic_defconfig (implies CONFIG_SGI_SNSC=y)
Patch is against 4.0-rc5 (localversion-next is -next-20150527)
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions