This reverts commit 285faa8a176a96561b35e0931a8d7c40e3ab375d.

Signed-off-by: Dragos-Marian Panait <dragos.pan...@windriver.com>
---
 drivers/fpga/stratix10-soc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
index 34c1eb72ee7e..136469546e35 100644
--- a/drivers/fpga/stratix10-soc.c
+++ b/drivers/fpga/stratix10-soc.c
@@ -491,10 +491,12 @@ static int s10_probe(struct platform_device *pdev)
                               NULL, 0, s10_fw_version_callback);
        if (ret) {
                dev_err(dev, "couldn't get firmware version\n");
+               stratix10_svc_done(priv->chan);
                fpga_mgr_free(mgr);
                goto probe_err;
        }
 
+       stratix10_svc_done(priv->chan);
        platform_set_drvdata(pdev, mgr);
        return ret;
 
-- 
2.38.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11910): 
https://lists.yoctoproject.org/g/linux-yocto/message/11910
Mute This Topic: https://lists.yoctoproject.org/mt/95090847/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to