aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-06-03 17:10:43 +0400
committerMark Brown <broonie@kernel.org>2022-06-06 12:38:26 +0100
commit0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e (patch)
tree9b85520689ad4094391993bde79ac9d7a333575d /sound/soc/samsung
parentMerge existing fixes from asoc/for-5.19 into new branch (diff)
downloadwireguard-linux-0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e.tar.xz
wireguard-linux-0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e.zip
ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: b6bc07d4360d ("ASoC: cros_ec_codec: support WoV") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Link: https://lore.kernel.org/r/20220603131043.38907-1-linmq006@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung')
0 files changed, 0 insertions, 0 deletions