git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: ac97: Fix of-node refcount unbalance
[sfrench/cifs-2.6.git]
/
sound
/
ac97
/
bus.c
diff --git
a/sound/ac97/bus.c
b/sound/ac97/bus.c
index 9f0c480489ef04384445b35f8786c020dfc9d7fa..9cbf6927abe96a735f0e188cfd735710c1d989ad 100644
(file)
--- a/
sound/ac97/bus.c
+++ b/
sound/ac97/bus.c
@@
-84,7
+84,7
@@
ac97_of_get_child_device(struct ac97_controller *ac97_ctrl, int idx,
if ((idx != of_property_read_u32(node, "reg", ®)) ||
!of_device_is_compatible(node, compat))
continue;
- return
of_node_get(node)
;
+ return
node
;
}
return NULL;