lkml.org 
[lkml]   [2011]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/7] regmap: Add support for 10/14 register formating
    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.


    \
     
     \ /
      Last update: 2011-11-16 18:39    [W:0.041 / U:60.148 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site