Re: [PATCH v3 1/2] Staging: comedi: convert while loops to timeouts in s626.c

2014-03-15 Thread Chase Southwood
>On Saturday, March 15, 2014 12:26 AM, "gre...@linuxfoundation.org" > wrote: >>On Fri, Mar 14, 2014 at 06:43:37PM -0700, Chase Southwood wrote: >>>On Tuesday, March 11, 2014 9:26 AM, Ian Abbott wrote: On 2014-03-09 04:00, Chase Southwood wrote: This patch changes a handful of while loop

Re: [PATCH v3 1/2] Staging: comedi: convert while loops to timeouts in s626.c

2014-03-14 Thread gre...@linuxfoundation.org
On Fri, Mar 14, 2014 at 06:43:37PM -0700, Chase Southwood wrote: > >On Tuesday, March 11, 2014 9:26 AM, Ian Abbott wrote: > > >>On 2014-03-09 04:00, Chase Southwood wrote: > >> This patch changes a handful of while loops to timeouts to prevent > >> infinite looping on hardware failure. A couple s

Re: [PATCH v3 1/2] Staging: comedi: convert while loops to timeouts in s626.c

2014-03-14 Thread Chase Southwood
>On Tuesday, March 11, 2014 9:26 AM, Ian Abbott wrote: >>On 2014-03-09 04:00, Chase Southwood wrote: >> This patch changes a handful of while loops to timeouts to prevent >> infinite looping on hardware failure. A couple such loops are in a >> function (s626_debi_transfer()) which is called from

Re: [PATCH v3 1/2] Staging: comedi: convert while loops to timeouts in s626.c

2014-03-11 Thread Ian Abbott
On 2014-03-09 04:00, Chase Southwood wrote: This patch changes a handful of while loops to timeouts to prevent infinite looping on hardware failure. A couple such loops are in a function (s626_debi_transfer()) which is called from critical sections, so comedi_timeout() is unusable for them, and a

[PATCH v3 1/2] Staging: comedi: convert while loops to timeouts in s626.c

2014-03-08 Thread Chase Southwood
This patch changes a handful of while loops to timeouts to prevent infinite looping on hardware failure. A couple such loops are in a function (s626_debi_transfer()) which is called from critical sections, so comedi_timeout() is unusable for them, and an iterative timeout is used instead. For the w