lkml.org 
[lkml]   [2020]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] nvmem: imx-ocotp: add support for the unaliged word count
From
Date


On 22/10/2020 08:44, peng.fan@nxp.com wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> When offset is not 4 bytes aligned, directly shift righty by 2 bits
> will cause reading out wrong data. Since imx ocotp only supports
> 4 bytes reading once, we need handle offset is not 4 bytes aligned
> and enlarge the bytes to 4 bytes aligned. After reading finished,
> copy the needed data from buffer to caller and free buffer.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Applied thanks,

srini

\
 
 \ /
  Last update: 2020-11-24 11:58    [W:0.032 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site