Re: [PATCH 6/7] regmap: Add support for 10/14 register formating

From: Mark Brown
Date: Wed Nov 16 2011 - 12:37:33 EST


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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/