Hi Andy, On Mon, Jan 22, 2018 at 03:19:00PM +0000, Yeh, Andy wrote: > Hi Sakari, > > I made a minor fix. I2C write function works after the change. Please kindly review soon then I would submit v5. > > *buf++ = reg >> 8; > *buf++ = reg & 0xff; > > - for (i = len - 1; i >= 0; i++) > + for (i = len - 1; i >= 0; i--) Oops... it was untested all along. Thanks! I'll send v3. -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxx