summaryrefslogtreecommitdiff
path: root/sound/aoa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-02-18 14:38:06 +0100
committerTakashi Iwai <tiwai@suse.de>2019-02-19 22:20:14 +0100
commit31d2350d602511efc9ef626b848fe521233b0387 (patch)
treeb43a004188f1edb233b15dfa83a03f0158bfb7d0 /sound/aoa
parentc7a13264918b9796f80c634f20fea56e1612572d (diff)
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: 2225a3e6af78 ("ALSA: ac97: add codecs devicetree binding") Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions