Re: [PATCH 2/2] iio: st_sensors: read surplus samples in trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 9, 2016 at 8:36 PM, Crestez Dan Leonard
<leonard.crestez@xxxxxxxxx> wrote:
> On 05/09/2016 05:56 PM, Linus Walleij wrote:

> I also tested this and it no longer stops printing samples. Your
> explanation also looks good to me.

OK we are moving in the right direction then!

> An infinite loop in the threaded interrupt handler looks odd. Are you
> sure this is allowed? I do my tests in qemu with an usb adapter and if I
> run with -smp 1 it seems to be impossible to stop the irq thread.

I will put in a limit to 10 as Jonathan recommended, let's see
if that fixes your problem! It's a sound limitation anyway.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux