diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2022-05-11 17:37:22 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-14 16:59:22 +0200 |
| commit | 30d110ca703ce60162ec337aa564a3e4da30715f (patch) | |
| tree | 65f1d531deeceede86d9713e51546170552e03cb /scripts | |
| parent | d9e36c56c0ed8da74775c3a12a350d50c507ca3e (diff) | |
ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
[ Upstream commit 2be84f73785fa9ed6443e3c5b158730266f1c2ee ]
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Fixes: 08641c7c74dd ("ASoC: mxs: add device tree support for mxs-saif")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220511133725.39039-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
