From: H Hartley Sweeten Date: Mon, 9 Dec 2013 22:30:42 +0000 (-0700) Subject: staging: comedi: pcmmio: return error if ai conversion times out X-Git-Tag: v3.14-rc1~150^2~336 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce69685a365d31184b6fd1a2cc8d96510cfbea3;p=pandora-kernel.git staging: comedi: pcmmio: return error if ai conversion times out Rename adc_wait_ready() so it has namespace associated with the driver. Fix the function so it returns an errno if the conversion times out. Propogate this errno if it happens. Define the analog input status register to remove the magic numbers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed