mirror of https://gitee.com/openkylin/linux.git
dbc3c62951
of_find_compatible_node() returns a pointer with refcount incremented
so both in the error path as well as after usage in soc_info_populate()
respectively actually b8500_read_soc_id() an explicit of_node_put is
needed to release backupram.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ux500-soc-id.c |