Messages in this thread | | | Date | Thu, 05 Jan 2023 22:22:35 +0100 | From | Michael Walle <> | Subject | Re: [PATCH 2/3] nvmem: core: allow .read_post_process() callbacks to adjust data length |
| |
Hi,
Am 2023-01-05 18:10, schrieb Rafał Miłecki: > From: Rafał Miłecki <rafal@milecki.pl> > > Sometimes reading NVMEM cell value involves some data reformatting. It > requires passing updated size value to the caller. Support that.
Wouldn't it make more sense to convert that driver to proper nvmem layouts, where (1) you get that for free, (2) support others storages than just mtd (3) don't duplicate the mtd read code
-michael
| |