snsc: pass timeout as HZ independent value
authorNicholas Mc Guire <hofrat@osadl.org>
Wed, 27 May 2015 16:34:47 +0000 (18:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jun 2015 01:29:50 +0000 (10:29 +0900)
commitfdd2db290d9bdfe11c6ee408f8727f1211f720d5
tree6b3adfa030165be16395885c49289dd483d9fac6
parent0e4a566b9e5c7361c31b939649015e13f066fc38
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>
drivers/char/snsc.c
This page took 0.025117 seconds and 5 git commands to generate.