staging: comedi: ni_labpc: introduce labpc_ai_wait_for_data()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:50:31 +0000 (09:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:42:58 +0000 (11:42 -0700)
commit810c73c7e7d3892fb508e28ca774d69309c316a2
treed3885824a0de3c4aead20ddc1a70c5f039ce69e1
parent3c4dfac8f7d2504234d1b7e3108e401a882bb9e1
staging: comedi: ni_labpc: introduce labpc_ai_wait_for_data()

Introduce a helper function to wait for the a/d conversion to
complete.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c