Skip to content
Commit 883c1d6f authored by Liang He's avatar Liang He Committed by Ulf Hansson
Browse files

mmc: core: quirks: Add of_node_put() when breaking out of loop



In mmc_fixup_of_compatible_match(), we should call of_node_put()
when breaking out of for_each_child_of_node() which will increase
and decrease the refcount during one iteration.

Fixes: b360b110 ("mmc: core: allow to match the device tree to apply quirks")
Signed-off-by: default avatarLiang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220719091051.1210806-1-windhl@126.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 886201c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment