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:
ee76bba
)
ARM: socfpga: checking the wrong variable
author
Dan Carpenter
<
[email protected]
>
Thu, 17 Nov 2016 01:54:40 +0000
(19:54 -0600)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 17 Nov 2016 07:14:55 +0000
(08:14 +0100)
This is a cut and paste bug. We had intended to check "sysmgr".
Fixes: e5f8efa5c8bf ("ARM: socfpga: fpga bridge driver support")
Signed-off-by: Dan Carpenter <
[email protected]
>
Acked-by: Moritz Fischer <
[email protected]
>
Acked-by: Alan Tull <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/fpga/altera-fpga2sdram.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/altera-fpga2sdram.c
b/drivers/fpga/altera-fpga2sdram.c
index 7ab358ed6c76844a8c70cf5796179be43ea48059..d4eeb74388da97b8bdf0d496ba70207717f32401 100644
(file)
--- a/
drivers/fpga/altera-fpga2sdram.c
+++ b/
drivers/fpga/altera-fpga2sdram.c
@@
-123,7
+123,7
@@
static int alt_fpga_bridge_probe(struct platform_device *pdev)
}
sysmgr = syscon_regmap_lookup_by_compatible("altr,sys-mgr");
- if (IS_ERR(
priv->sdrctl
)) {
+ if (IS_ERR(
sysmgr
)) {
dev_err(dev, "regmap for altr,sys-mgr lookup failed.\n");
return PTR_ERR(sysmgr);
}