On Wed, Nov 16, 2011 at 04:28:21PM +0100, Lars-Peter Clausen wrote: > + > + out[2] = val; > + out[1] = (val >> 8) | (reg << 6); > + out[0] = reg >> 2; > +} Applied but it took me a couple of goes to veryify that this was correct as you're filling things in the opposite order to that which things are transmitted in. -- 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