Commit 08dc2159 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

i2c: mux: gpio: Add missing fwnode_handle_put()



[ Upstream commit db6aee60 ]

In i2c_mux_gpio_probe_fw(), we should add fwnode_handle_put()
when break out of the iteration device_for_each_child_node()
as it will automatically increase and decrease the refcounter.

Fixes: 98b2b712 ("i2c: i2c-mux-gpio: Enable this driver in ACPI land")
Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f912d9d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment