diff options
author | 2021-10-13 14:19:56 +0100 | |
---|---|---|
committer | 2021-10-13 15:33:17 +0200 | |
commit | 5008062f1c3f5af3acf86164aa6fcc77b0c7bdce (patch) | |
tree | 01ab77834192637f5b5dbf29a63dd5602858ed7f /tools/perf/scripts/python/syscall-counts.py | |
parent | nvmem: core: rework nvmem cell instance creation (diff) | |
download | linux-dev-5008062f1c3f5af3acf86164aa6fcc77b0c7bdce.tar.xz linux-dev-5008062f1c3f5af3acf86164aa6fcc77b0c7bdce.zip |
nvmem: core: add nvmem cell post processing callback
Some NVMEM providers have certain nvmem cells encoded, which requires
post processing before actually using it.
For example mac-address is stored in either in ascii or delimited or reverse-order.
Having a post-process callback hook to provider drivers would enable them to
do this vendor specific post processing before nvmem consumers see it.
Tested-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20211013131957.30271-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions