Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HSI: omap_ssi: Fix refcount leak in ssi_probe
When returning or breaking early from a for_each_available_child_of_node() loop, we need to explicitly call of_node_put() on the child node to possibly release the node. Fixes: b209e04 ("HSI: Introduce OMAP SSI driver") Signed-off-by: Miaoqian Lin <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
- Loading branch information