diff options
author | Liang He <windhl@126.com> | 2022-07-19 11:10:51 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-07-21 18:02:41 +0200 |
commit | 883c1d6fa4368a63cae2d6ae2d9c91141c60e233 (patch) | |
tree | 62ad28fb08ec5584f37cfb9b73139c505eb1dbf8 /drivers/ps3 | |
parent | mmc: sdhci-brcmstb: use clk_get_rate(base_clk) in PM resume (diff) | |
download | linux-883c1d6fa4368a63cae2d6ae2d9c91141c60e233.tar.xz linux-883c1d6fa4368a63cae2d6ae2d9c91141c60e233.zip |
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: b360b1102670 ("mmc: core: allow to match the device tree to apply quirks")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220719091051.1210806-1-windhl@126.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions