Skip to content

Commit

Permalink
nvmem: imx: correct nregs for i.MX6SLL
Browse files Browse the repository at this point in the history
commit 414a98a upstream.

The nregs for i.MX6SLL should be 80 per fuse map, correct it.

Fixes: 6da2782 ("nvmem: imx-ocotp: add support for imx6sll")
Cc: Stable@vger.kernel.org
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231013124904.175782-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
MrVan authored and gregkh committed Nov 2, 2023
1 parent 3e325ac commit 4f6c3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvmem/imx-ocotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static const struct ocotp_params imx6sl_params = {
};

static const struct ocotp_params imx6sll_params = {
.nregs = 128,
.nregs = 80,
.bank_address_words = 0,
.set_timing = imx_ocotp_set_imx6_timing,
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
Expand Down

0 comments on commit 4f6c3da

Please sign in to comment.