projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7df7a5
)
bcma: add missing put_device call
author
Levente Kurusa
<levex@linux.com>
Thu, 19 Dec 2013 15:06:52 +0000
(16:06 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 19 Dec 2013 19:40:29 +0000
(14:40 -0500)
This is required so that we give up the last reference to the device.
Signed-off-by: Levente Kurusa <levex@linux.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bcma/main.c
b/drivers/bcma/main.c
index e15430a82e90e766163c7f5f40e26559b3fabbe1..5a9f6bdc88f1870f5e3c89a5c4e75f1981bb91f3 100644
(file)
--- a/
drivers/bcma/main.c
+++ b/
drivers/bcma/main.c
@@
-176,6
+176,7
@@
static int bcma_register_cores(struct bcma_bus *bus)
bcma_err(bus,
"Could not register dev for core 0x%03X\n",
core->id.id);
+ put_device(&core->dev);
continue;
}
core->dev_registered = true;