Input: cyapa - use msleep() for long delay
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 15 Jan 2017 23:19:27 +0000 (15:19 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Jan 2017 23:40:23 +0000 (15:40 -0800)
commit13e360ac97e2a6386f9e26e02e20bce4b6e83415
treecb45762a07dc2d54eb7ab8a50a5c641945d84e12
parentcd4c1b412d4dd094c2ec02be4f0ee41bcc386170
Input: cyapa - use msleep() for long delay

ulseep_range() uses hrtimers and provides no advantage over msleep()
for larger delays. Fix up the 50ms delays here to use msleep() and
reduce the load on the hrtimer subsystem.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa_gen3.c