diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-02-19 18:46:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 12:21:40 +0300 |
commit | 00b71397e89d5a8b0bbfeccc92110d05d6bf11eb (patch) | |
tree | 7bef51319eab7bdcac428fe7ccf12946a1a1060b /fs/nfs | |
parent | dac3ac0c9c146f9de4a6eb5c9d71365dde95bb16 (diff) | |
download | linux-00b71397e89d5a8b0bbfeccc92110d05d6bf11eb.tar.xz |
ASoC: qcom: Fix of-node refcount unbalance in apq8016_sbc_parse_of()
[ Upstream commit 8d1667200850f8753c0265fa4bd25c9a6e5f94ce ]
The apq8016 driver leaves the of-node refcount at aborting from the
loop of for_each_child_of_node() in the error path. Not only the
iterator node of for_each_child_of_node(), the children nodes referred
from it for codec and cpu have to be properly unreferenced.
Fixes: bdb052e81f62 ("ASoC: qcom: add apq8016 sound card support")
Cc: Patrick Lai <plai@codeaurora.org>
Cc: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions