Files
linux/drivers/input/mouse
Nicholas Mc Guire cd4c1b412d Input: cyapa - use time based retry loop
Using counter based retry loops for peripherals results in the delay
being significantly overrun during high-load situations where delay
functions tend to be vary imprecise and overrun there timeouts. So
condition the termination on the actual condition of 2s for the
re-calibration to have been successful.

As this is a very long delay there is no advantage in using
high-resolution timers thus switching this to msleep().

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-01-15 15:40:11 -08:00
..
2016-12-12 11:26:22 -08:00
2016-05-16 17:25:08 -07:00
2012-11-24 00:05:38 -08:00
2015-03-23 09:18:27 -07:00
2015-04-14 14:29:03 -07:00