From: H Hartley Sweeten Date: Mon, 10 Feb 2014 18:49:44 +0000 (-0700) Subject: staging: comedi: dmm32at: use comedi_timeout() X-Git-Tag: v3.15-rc1~139^2~1063 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b3d79a622c97483c8d0e6e4bbd5207929259d9;p=pandora-kernel.git staging: comedi: dmm32at: use comedi_timeout() Use comedi_timeout() to wait for the analog input settle and end-of- conversion. These tests use different registers but the same bit so the register is passed as the 'context'. The same test is used in dmm32at_ai_cmd() but the 'insn' is not available. This is ok since the test function, and comedi_timeout() don't use it. Use comedi_timout() to wait for the analog output end-of-conversion. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed