Re: ti_am33x_adc sampling bugs

Zubair Lutfullah :
2014-04-01T05:42:07Z

Sorry for taking this long to reply.

The confusion here is due to vendor/mainline trees for the kernel.

This discussion should have been carried out on
https://github.com/beagleboard/kernel/issues
instead of the kernel mailing lists.

Sorry Jonathan.

The IIO-map-interface patch is in the vendor tree for the Beaglebone.

And it is not intended to be mainlined. Just like the other TI wiki stuff.

But it used to make life a little easier before the IIO sysfs entries were fixed
for the am335x ADC.

The patch was kept as it is because of the ton of guides/wikis out there for the
Beaglebone asking for AIN0/AIN7 pins.

And iirc capemgr (another out of tree module which is being mainlined) used it.
Which made it necessary to keep this.

As far as patch 19 (Add continuous sampling) is concerned, I didn't observe it
causing these bugs. But it is good that you have pointed them out.
Thank-you.

Could you please go through the patch and suggest a fix as well?

Seems like a FIFO isn't cleared somewhere..

Hope this clears the confusion.

Again, this discussion should have been carried out
https://github.com/beagleboard/kernel/issues

Not the kernel mailing list.

Regards
ZubairLK

>