diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-11-06 16:41:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-11 18:15:29 +0100 |
commit | 0749aa25af82c690395a96e799cd2c6e54c459cf (patch) | |
tree | 782f6fd923728fcc6adf3132a40ca40d7e023ad2 /lib/test_firmware.c | |
parent | misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data (diff) | |
download | linux-0749aa25af82c690395a96e799cd2c6e54c459cf.tar.xz linux-0749aa25af82c690395a96e799cd2c6e54c459cf.zip |
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 <niklas.cassel@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_firmware.c')
0 files changed, 0 insertions, 0 deletions