On Mon, Feb 29, 2016 at 10:09:10PM -0300, Lucas De Marchi wrote: > On Mon, Feb 29, 2016 at 9:50 PM, Michael Welling <mwelling@xxxxxxxx> wrote: > > On Fri, Feb 05, 2016 at 03:17:18PM +0200, Daniel Baluta wrote: > >> The driver has sysfs readings with runtime PM support for power saving. > >> It also offers buffer support that can be used together with IIO software > >> triggers. > >> > > > > Daniel, > > > > So I noticed something yesterday while testing new boards. > > The channels are occassionally swapping when accessing data from multiple channels. > > > > I wrote a simple bash script to demonstrate. > > This happened to me in a previous version of the patch. I remember it > being fixed in the last version (or at least I could not reproduce). > I'll test again tomorrow with your script. > Just verified that it is happening to me will the latest in linux-next. root@dragonboard-410c:~# cat /proc/version Linux version 4.5.0-rc6-next-20160229+ (michael@deathstar) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Mon Feb 29 19:27:11 CST 2016 root@dragonboard-410c:~# ./test-analog.sh ain0 = 267 ain1 = 286 ain2 = 268 ain3 = 288 ain0 = 283 ain1 = 284 ain2 = 284 ain3 = 0 ain0 = 0 ain1 = 284 ain2 = 287 ain3 = 0 ain0 = 0 ain1 = 285 ain2 = 287 ain3 = 0 ain0 = 282 ain1 = 284 ain2 = 287 ain3 = 0 ain0 = 283 ain1 = 284 ain2 = 286 ain3 = 0 ain0 = 283 ain1 = 290 ain2 = 285 ain3 = 288 ain0 = 284 ain1 = 286 ain2 = 285 ain3 = 0 ain0 = 0 ain1 = 284 ain2 = 285 ain3 = 0 ain0 = 0 ain1 = 286 ain2 = 287 ain3 = 0 ain0 = 0 ain1 = 284 ain2 = 289 ain3 = 0 . . > Lucas De Marchi -- 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