diff options
| author | Chase Southwood <chase.southwood@yahoo.com> | 2014-04-03 18:43:27 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-14 08:29:25 -0700 |
| commit | 571845c6f47de51a41ab7964a144b22d297d06ce (patch) | |
| tree | 800672c41b238873c1fe84612068631b2bb4d80a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 1e4742df19bee14669e72ee3da670c3b6b33cd5e (diff) | |
staging: comedi: s626: use comedi_timeout() on remaining loops
There were just a handful of more while loops in this file that needed
timeouts, and this patch takes care of them. One new callback is
introduced, and all of the proper comedi_timeout() calls are then used.
The return type of s626_i2c_handshake() has been changed from uint32_t to
int so that a negative error code from comedi_timeout() can be propagated
if necessary.
Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
