Re: [PATCH] nvmem: sc27xx: Convert nvmem offset to block index

From: Srinivas Kandagatla
Date: Tue Jan 15 2019 - 07:16:38 EST




On 15/01/2019 07:12, Baolin Wang wrote:
From: Freeman Liu <freeman.liu@xxxxxxxxxx>

The Spreadtrum SC27XX efuse data are organized by blocks and each block
contains 2 bytes data. Moreover the nvmem core always pass the offset
in byte to the controller, so we should change the offset in byte to
the correct block index and block offset to read the data.

Signed-off-by: Freeman Liu <freeman.liu@xxxxxxxxxx>
Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
---

Applied!

Thanks,
srini