]> git.itanic.dy.fi Git - linux-stable/commit
of: overlay: update phandle cache on overlay apply and remove
authorFrank Rowand <frank.rowand@sony.com>
Thu, 12 Jul 2018 21:00:07 +0000 (14:00 -0700)
committerRob Herring <robh@kernel.org>
Mon, 16 Jul 2018 14:41:32 +0000 (08:41 -0600)
commitb9952b5218added5577e4a3443969bc20884cea9
treeea6672754a6ec83753a9a3b63bbb3dd0c68ec708
parenta47c9b3943164453d4f580ea174a6ddcb37554c3
of: overlay: update phandle cache on overlay apply and remove

A comment in the review of the patch adding the phandle cache said that
the cache would have to be updated when modules are applied and removed.
This patch implements the cache updates.

Fixes: 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of of_find_node_by_phandle()")
Reported-by: Alan Tull <atull@kernel.org>
Suggested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c
drivers/of/of_private.h
drivers/of/overlay.c