[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <628bb6a8-9d09-46a0-70cd-89a51f0f8108@linaro.org>
Date: Tue, 24 Nov 2020 10:52:03 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: peng.fan@....com, shawnguo@...nel.org, s.hauer@...gutronix.de
Cc: kernel@...gutronix.de, festevam@...il.com, linux-imx@....com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvmem: imx-ocotp: add support for the unaliged word count
On 22/10/2020 08:44, peng.fan@....com wrote:
> From: Peng Fan <peng.fan@....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@....com>
Applied thanks,
srini
Powered by blists - more mailing lists