Re: [PATCH 2/3] nvmem: core: allow .read_post_process() callbacks to adjust data length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am 2023-01-05 18:10, schrieb Rafał Miłecki:
From: Rafał Miłecki <rafal@xxxxxxxxxx>

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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux