From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: peng.fan@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de
Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nvmem: imx-ocotp: add support for the unaliged word count
Date: Tue, 24 Nov 2020 10:52:03 +0000 [thread overview]
Message-ID: <628bb6a8-9d09-46a0-70cd-89a51f0f8108@linaro.org> (raw)
In-Reply-To: <1603352683-23918-1-git-send-email-peng.fan@nxp.com>
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
prev parent reply other threads:[~2020-11-24 10:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 7:44 peng.fan
2020-11-24 10:52 ` Srinivas Kandagatla [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=628bb6a8-9d09-46a0-70cd-89a51f0f8108@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®