WSL2-Linux-Kernel/sound/ac97
Takashi Iwai 31d2350d60 ALSA: ac97: Fix of-node refcount unbalance
ac97_of_get_child_device() take the refcount of the node explicitly
via of_node_get(), but this leads to an unbalance.  The
for_each_child_of_node() loop itself takes the refcount for each
iteration node, hence you don't need to take the extra refcount
again.

Fixes: 2225a3e6af ("ALSA: ac97: add codecs devicetree binding")
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-02-19 22:20:14 +01:00
..
Kconfig ALSA: ac97: kconfig: Remove select of undefined symbol AC97 2018-02-12 08:16:39 +01:00
Makefile ALSA: ac97: add an ac97 bus 2017-09-04 18:24:56 +01:00
ac97_core.h ALSA: ac97: add an ac97 bus 2017-09-04 18:24:56 +01:00
bus.c ALSA: ac97: Fix of-node refcount unbalance 2019-02-19 22:20:14 +01:00
codec.c ALSA: ac97: add an ac97 bus 2017-09-04 18:24:56 +01:00
snd_ac97_compat.c ALSA: ac97: fix device initialization in the compat layer 2018-08-19 18:34:31 +02:00