Liang He a8d5df69e2
ASoC: mt6359: Fix refcount leak bug
In mt6359_parse_dt() and mt6359_accdet_parse_dt(), we should call
of_node_put() for the reference returned by of_get_child_by_name()
which has increased the refcount.

Fixes: 683530285316 ("ASoC: mt6359: fix failed to parse DT properties")
Fixes: eef07b9e0925 ("ASoC: mediatek: mt6359: add MT6359 accdet jack driver")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220713102013.367336-1-windhl@126.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-07-13 13:48:56 +01:00
..
2021-04-20 17:25:51 +01:00
2022-05-23 16:03:04 +02:00
2022-06-27 18:27:03 +01:00
2022-07-11 15:51:01 +01:00
2021-03-31 18:00:38 +01:00
2022-06-06 12:33:10 +01:00
2022-06-06 12:33:10 +01:00
2022-07-08 11:52:42 +01:00
2022-07-08 11:52:42 +01:00
2018-04-26 12:44:15 +01:00
2022-07-13 13:48:56 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2022-07-11 15:51:01 +01:00
2022-01-28 15:59:20 +00:00
2021-12-06 10:04:05 +01:00
2022-07-11 15:51:01 +01:00
2022-07-08 11:52:42 +01:00
2022-07-08 11:52:42 +01:00
2022-07-11 15:51:01 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2022-07-11 15:51:01 +01:00
2020-07-20 15:34:29 +01:00
2022-07-11 15:51:01 +01:00
2020-10-02 21:05:29 +01:00
2022-07-11 15:51:01 +01:00