From: H Hartley Sweeten Date: Mon, 10 Feb 2014 18:49:33 +0000 (-0700) Subject: staging: comedi: icp_multi: use comedi_timeout() X-Git-Tag: v3.15-rc1~139^2~1074 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2fde58204af85f20d08e2dc97b9586d2f34497e;p=pandora-kernel.git staging: comedi: icp_multi: use comedi_timeout() Use comedi_timeout() to wait for the analog input and output end-of- conversion. Use break to exit the loop when a timeout occurs during the analog input read so that common code can be used to disable the device. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed