Searched hist:"6435319 c34704994e19b0767f6a4e6f37439867b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/i2c/muxes/ |
H A D | i2c-mux-gpmux.c | diff 6435319c34704994e19b0767f6a4e6f37439867b Thu Jul 21 20:24:01 CDT 2022 Liang He <windhl@126.com> i2c: mux-gpmux: Add of_node_put() when breaking out of loop
In i2c_mux_probe(), we should call of_node_put() when breaking out of for_each_child_of_node() which will automatically increase and decrease the refcount.
Fixes: ac8498f0ce53 ("i2c: i2c-mux-gpmux: new driver") Signed-off-by: Liang He <windhl@126.com> Acked-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@kernel.org>
|