diff options
author | Takashi Iwai <[email protected]> | 2019-02-19 16:46:50 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-02-20 16:43:29 +0000 |
commit | 8d1667200850f8753c0265fa4bd25c9a6e5f94ce (patch) | |
tree | 38c0d81cc6d0ece603f2f8006026c30a08bd6d7a /lib/mpi/mpi-cmp.c | |
parent | d832d2b246c516eacb2d0ba53ec17ed59c3cd62b (diff) |
ASoC: qcom: Fix of-node refcount unbalance in apq8016_sbc_parse_of()
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 <[email protected]>
Cc: Banajit Goswami <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions