projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838f427
)
bcma: init spin lock
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 23 Feb 2013 22:30:22 +0000
(23:30 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 27 Feb 2013 19:12:51 +0000
(14:12 -0500)
This spin lock was not initialized.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci_host.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/driver_pci_host.c
b/drivers/bcma/driver_pci_host.c
index 221f8bb76390031d067e3b33705960bc2360e185..25de38719684f08246fe9b218829f38883c4e6cb 100644
(file)
--- a/
drivers/bcma/driver_pci_host.c
+++ b/
drivers/bcma/driver_pci_host.c
@@
-405,6
+405,8
@@
void __devinit bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc)
return;
}
+ spin_lock_init(&pc_host->cfgspace_lock);
+
pc->host_controller = pc_host;
pc_host->pci_controller.io_resource = &pc_host->io_resource;
pc_host->pci_controller.mem_resource = &pc_host->mem_resource;