]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ppc: Fix of-node refcount unbalance
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Feb 2019 14:05:24 +0000 (15:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Feb 2019 21:20:46 +0000 (22:20 +0100)
commitb1c44cd25076e98f0e27a6f018764206c3d1821f
tree5f022d74692a17edc2882fe41769d30630b06d84
parent991ea93c2826b3fe993a95a45a0c60075fe1963e
ALSA: ppc: Fix of-node refcount unbalance

We forgot to unreference the node when aborting from the loop of
for_each_child_of_node() in snd_pmac_tumbler_init().  This leads to
unbalanced node refcount.  Fix it by adding the missing of_node_put()
call.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/tumbler.c