]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: rti800: factor out "ai wait for conversion"
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Apr 2013 01:20:21 +0000 (18:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2013 23:29:07 +0000 (16:29 -0700)
commit929b343297f3f7419a67dff4e8f4110f919682f8
tree023c55566541211dd3b867bd30516606943483fc
parent0546f777627b93022bdb2d8b7fdfb91d2f8f4c74
staging: comedi: rti800: factor out "ai wait for conversion"

Factor the timeout loop that waits for the ai conversion to complete
out of rti800_ai_insn_read().

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/rti800.c