Home
last modified time | relevance | path

Searched hist:"883 c1d6f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mmc/core/
H A Dquirks.h883c1d6f Tue Jul 19 04:10:51 CDT 2022 Liang He <windhl@126.com> 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>