diff options
author | Srinivas Kandagatla <[email protected]> | 2018-11-06 15:41:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-11-11 09:15:29 -0800 |
commit | 0749aa25af82c690395a96e799cd2c6e54c459cf (patch) | |
tree | 782f6fd923728fcc6adf3132a40ca40d7e023ad2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7c97301285b62a41d6bceded7d964085fc8cc50f (diff) |
nvmem: core: fix regression in of_nvmem_cell_get()
NVMEM DT support seems to be totally broken after
commit e888d445ac33 ("nvmem: resolve cells from DT at registration time")
Fix this!
Index used in of_nvmem_cell_get() to find cell is specific to
consumer, It can not be used for searching the cell in provider.
Use device_node instead of this to find the matching cell in device
tree case.
Fixes: e888d445ac33 ("nvmem: resolve cells from DT at registration time")
Reported-by: Niklas Cassel <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Tested-by: Niklas Cassel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions