[PATCH 11/16] staging: comedi: comedi_test: make timer rate similar to scan rate

2015-10-27 Thread Ian Abbott
The asynchronous command handling for the analog input subdevice uses a kernel timer which expires approximately `HZ` times a second. However, it only needs to do anything after each scan period. Set the timer to expire just after the next scan period. Although the timer expiry function

[PATCH 11/16] staging: comedi: comedi_test: make timer rate similar to scan rate

2015-10-27 Thread Ian Abbott
The asynchronous command handling for the analog input subdevice uses a kernel timer which expires approximately `HZ` times a second. However, it only needs to do anything after each scan period. Set the timer to expire just after the next scan period. Although the timer expiry function