]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: qcom: Fix of-node refcount unbalance to link->codec_of_node
authorNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Thu, 6 Feb 2020 03:36:11 +0000 (12:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:30:58 +0000 (16:30 -0500)
commite080b6ea6445a22015c0bc9a84b31d8a1aa162ee
tree19d13c2301955cf25716c827941ec5c12eb19826
parent7c756a4ae099ac15d395965f25dd8b95294daf68
ASoC: qcom: Fix of-node refcount unbalance to link->codec_of_node

[ This is a fix specific to 4.4.y and 4.9.y stable trees;
  4.14.y and older are not affected ]

The of-node refcount fixes were made in commit 8d1667200850 ("ASoC: qcom:
Fix of-node refcount unbalance in apq8016_sbc_parse_of()"), but not enough
in 4.4.y and 4.9.y. The modification of link->codec_of_node is missing.
This fixes of-node refcount unbalance to link->codec_of_node.

Fixes: 8d1667200850 ("ASoC: qcom: Fix of-node refcount unbalance in apq8016_sbc_parse_of()")
Cc: Patrick Lai <plai@codeaurora.org>
Cc: Banajit Goswami <bgoswami@codeaurora.org>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Sasha Levin <sashal@kernel.org>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/qcom/apq8016_sbc.c