Re: [PATCH] nvmem: qcom-spmi-sdam: Set size in struct nvmem_config

From: Srinivas Kandagatla
Date: Fri Dec 20 2024 - 11:47:48 EST



On Fri, 20 Dec 2024 13:22:07 +0100, Luca Weiss wrote:
> Let the nvmem core know what size the SDAM is, most notably this fixes
> the size of /sys/bus/nvmem/devices/spmi_sdam*/nvmem being '0' and makes
> user space work with that file.
>
> ~ # hexdump -C -s 64 /sys/bus/nvmem/devices/spmi_sdam2/nvmem
> 00000040 02 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 |................|
> 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> *
> 00000080
>
> [...]

Applied, thanks!

[1/1] nvmem: qcom-spmi-sdam: Set size in struct nvmem_config
commit: ad71aaa9083a7ca8be9105d30a3eeaf4937234f8

Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>