]> asedeno.scripts.mit.edu Git - linux.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)
commit5e2c9465825595e3c295085c1ffb14eb239e3278
tree5f022d74692a17edc2882fe41769d30630b06d84
parent00178c9175402c364a1456742c0d71bdc4189e0c
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