]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: comedi: pcmad: return errno if AI conversion times out
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 5 Jun 2013 22:36:24 +0000 (15:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:01:34 +0000 (12:01 -0700)
commitbcc01b4d852c73dbd4cc569c905b5ab1833d00d3
tree45ec2dd84f114709b6170aa37c2b68f469bbb2c6
parent2a09cba62e82eb8b6202d4ff6dd37ac64a8d624c
staging: comedi: pcmad: return errno if AI conversion times out

Instead of returning invalid data, return -ETIME if the analog input
conversion times out.

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