From: David Kershner <david.kersh...@unisys.com> Use ms_to_jiffies for the periodic work queue instead of raw jiffies.
Signed-off-by: David Kershner <david.kersh...@unisys.com> Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com> --- drivers/staging/unisys/visorbus/visorbus_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index a272b48..1fa6e5b 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -34,8 +34,8 @@ static int visorbus_debugref; #define SERIALLOOPBACKCHANADDR (100 * 1024 * 1024) #define CURRENT_FILE_PC VISOR_BUS_PC_visorbus_main_c -#define POLLJIFFIES_TESTWORK 100 -#define POLLJIFFIES_NORMALCHANNEL 10 +#define POLLJIFFIES_TESTWORK msecs_to_jiffies(100) +#define POLLJIFFIES_NORMALCHANNEL msecs_to_jiffies(2) static int busreg_rc = -ENODEV; /* stores the result from bus registration */ -- 2.5.0 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel