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:
e009189
)
EDAC: Octeon: Fix lack of opstate_init
author
Daniel Walker
<
[email protected]
>
Fri, 20 Sep 2013 22:46:40 +0000
(15:46 -0700)
committer
Ralf Baechle
<
[email protected]
>
Mon, 31 Mar 2014 16:17:12 +0000
(18:17 +0200)
If the opstate_init() isn't called the driver won't start properly.
I just added it in what appears to be an appropriate place.
Signed-off-by: Daniel Walker <
[email protected]
>
Cc: David Daney <
[email protected]
>
Cc: Doug Thompson <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/5872/
Signed-off-by: Ralf Baechle <
[email protected]
>
drivers/edac/octeon_edac-lmc.c
patch
|
blob
|
history
diff --git
a/drivers/edac/octeon_edac-lmc.c
b/drivers/edac/octeon_edac-lmc.c
index 93412d6b3af1703ccfd220aa759fbf8d553eeec7..4881ad0b0bd686aade7a528154038ee8fe4c61cd 100644
(file)
--- a/
drivers/edac/octeon_edac-lmc.c
+++ b/
drivers/edac/octeon_edac-lmc.c
@@
-92,6
+92,8
@@
static int octeon_lmc_edac_probe(struct platform_device *pdev)
struct edac_mc_layer layers[1];
int mc = pdev->id;
+ opstate_init();
+
layers[0].type = EDAC_MC_LAYER_CHANNEL;
layers[0].size = 1;
layers[0].is_virt_csrow = false;