HID: make timeout HZ independent
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 2 May 2015 15:55:15 +0000 (17:55 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 7 May 2015 08:32:22 +0000 (10:32 +0200)
commite03930620ae856a6ed79007207337d10011ecb36
tree27ead853b3d6b94c98f6a15633fbb31d34b772eb
parent8de29a35dc840a05e451ad035bcb06e21ccf605f
HID: make timeout HZ independent

wait_event_interruptible_timeout() expects a timeout in jiffies so the
numeric constant becomes HZ dependent - put it through msecs_to_jiffies()
to make it HZ independent.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg.c