linux/drivers/staging
Ian Abbott 1eb85ae857 staging: comedi: comedi_test: handle partial scans in timer routine
For asynchronous command handling on the analog input subdevice, a
kernel timer routine is used to generate the fake waveform data.  A
"scan" consists of a number of conversions separated in time by a
conversion period.  Successive scans are separated in time by a scan
period, which is at least the conversion period multiplied by the number
of conversions per scan.  Currently, the timer routine does not generate
any data until the end of a scan period, generating whole scans of data
at a time.  Change it to generate data at the end of each conversion
period, with an extra delay after the final conversion in each scan if
necessary.  Use new member `ai_convert_time` in the private data
structure `struct waveform_private` to keep track of when the next
conversion is due.  This replaces the old member `ai_last_scan_time`
which kept track of the time of the previous scan.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-29 08:58:36 +09:00
..
android staging: ion: Remove explicit NULL comparison 2015-10-24 19:26:59 -07:00
board
clocking-wizard
comedi staging: comedi: comedi_test: handle partial scans in timer routine 2015-10-29 08:58:36 +09:00
dgap staging: dgap: add spaces around binary operator '|' 2015-10-24 19:33:42 -07:00
dgnc staging: dgnc: dgnc_driver: Remove useless initialisation 2015-10-16 22:56:23 -07:00
emxx_udc Staging: emxx_udc: Add space around operator. 2015-10-24 19:21:05 -07:00
fbtft staging: fbtft: fix voltage settings for C-Berry28 2015-10-24 19:42:37 -07:00
fsl-mc staging: fsl-mc: section mismatch bug fix 2015-10-27 14:40:14 +09:00
fwserial
gdm72xx Staging: gdm72xx: Remove unnecessary cast on void pointer 2015-10-16 22:51:48 -07:00
gdm724x staging: gdm724x: remove multiple blank lines 2015-10-24 19:02:42 -07:00
goldfish
gs_fpgaboot
iio staging: iio: accel: add bracket on all branches of the if/else 2015-10-29 08:53:42 +09:00
lustre staging: lustre: cleanup over 80 characters in libcfs_hash.h 2015-10-29 08:02:24 +09:00
media staging: media: omap4iss: Fixes line break 2015-10-27 16:53:12 +09:00
most staging: most: remove exclusive wait_queue 2015-10-29 08:57:19 +09:00
mt29f_spinand Staging: mt29f_spinand: Indent to match open parenthesis 2015-10-27 16:55:23 +09:00
netlogic staging: netlogic: Do not use multiple blank lines. 2015-10-24 19:38:48 -07:00
nvec staging: nvec: Do not use multiple blank lines. 2015-10-27 14:49:09 +09:00
octeon staging: octeon: Do not use multiple blank lines. 2015-10-24 19:28:52 -07:00
octeon-usb staging: octeon-usb: Replace kmalloc with kmalloc_array 2015-10-24 19:28:52 -07:00
olpc_dcon Staging: olpc_dcon: Remove NULL comparison 2015-10-16 23:06:38 -07:00
panel Staging: panel: Logical continuations should be on the previous line 2015-10-29 07:55:17 +09:00
rdma staging/rdma/hfi1: Update driver version string to 0.9-294 2015-10-27 17:45:51 +09:00
rtl8188eu staging: rtl8188eu: Remove unnecessary variables 2015-10-27 17:00:47 +09:00
rtl8192e staging: rtl8192e: _rtl92e_fw_boot_cpu: Remove unneeded goto 2015-10-24 19:23:13 -07:00
rtl8192u staging: rtl8192u: ieee80211: Do not export static function 2015-10-27 16:55:23 +09:00
rtl8712 staging: rtl8712: rtl871x_io: Remove unused function 2015-10-29 07:55:17 +09:00
rtl8723au staging: rtl8723au: core: Remove unnecessary functions 2015-10-29 07:55:17 +09:00
rts5208 Staging: rts5208: use dmam_alloc_coherent 2015-10-16 23:17:26 -07:00
skein skein: fix coding style 2015-10-24 19:30:12 -07:00
slicoss staging: slicoss: Fixes block comment style 2015-10-27 14:43:31 +09:00
sm750fb staging: sm750fb: remove unused fields from struct sm750_dev 2015-10-27 17:04:57 +09:00
speakup staging: speakup: Remove multiple assignments 2015-10-24 19:44:30 -07:00
ste_rmi4
unisys staging: unisys: Remove useless intialisation 2015-10-16 22:59:36 -07:00
vme
vt6655 staging: vt6655: Add space around '*' 2015-10-24 19:38:48 -07:00
vt6656 staging: vt6656: Do not use multiple blank lines. 2015-10-27 16:53:12 +09:00
wilc1000 Staging: wilc1000: Prefer eth_broadcast_addr over memset() 2015-10-29 08:51:27 +09:00
wlan-ng Staging: wlan-ng: Remove unused p80211meta.h file 2015-10-29 07:55:17 +09:00
xgifb Staging: xgifb: Remove space after cast 2015-10-24 19:11:30 -07:00
Kconfig staging: ft1000: remove obsolete driver 2015-10-24 19:19:43 -07:00
Makefile staging: ft1000: remove obsolete driver 2015-10-24 19:19:43 -07:00
staging.c