mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ARM: socfpga: checking the wrong variable
This is a cut and paste bug. We had intended to check "sysmgr".
Fixes: e5f8efa5c8 ("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]>
This commit is contained in:
parent
ee76bba7e5
commit
96bc818397
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue