On Wed, Feb 05, 2014 at 06:02:04PM +, Hartley Sweeten wrote:
> On Wednesday, February 05, 2014 10:40 AM, Greg KH wrote:
> > On Tue, Feb 04, 2014 at 06:59:43PM +, Hartley Sweeten wrote:
> >> I'm in the process of cleaning up all the "timeout" code in the
> >> comedi drivers. The general for
On Tue, Feb 04, 2014 at 06:59:43PM +, Hartley Sweeten wrote:
> Hello all,
>
> I'm in the process of cleaning up all the "timeout" code in the
> comedi drivers. The general form of the timeout code in all
> the drivers is:
>
> static int foo_eoc(struct comedi_device *dev, unsigned long timeou
On Wednesday, February 05, 2014 10:40 AM, Greg KH wrote:
> On Tue, Feb 04, 2014 at 06:59:43PM +, Hartley Sweeten wrote:
>> I'm in the process of cleaning up all the "timeout" code in the
>> comedi drivers. The general form of the timeout code in all
>> the drivers is:
>>
>> static int foo_eoc
Hello all,
I'm in the process of cleaning up all the "timeout" code in the
comedi drivers. The general form of the timeout code in all
the drivers is:
static int foo_eoc(struct comedi_device *dev, unsigned long timeout)
{
unsigned int status;
while (timeout--) {
s