Commit a673c06a authored by Federico Vaga's avatar Federico Vaga

sw:drv:fcl: reset FCL on probe() and on complete()

Mainly to avoid to drive lines which can be potentially shared
Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent f436464d
......@@ -363,6 +363,12 @@ static int gn412x_fcl_write(struct fpga_manager *mgr,
static void gn4124_fcl_reset(struct gn412x_fcl_dev *gn412x)
gn412x_iowrite32(gn412x, 0x00, FCL_CTRL);
gn412x_iowrite32(gn412x, 0x00, FCL_EN);
static int gn412x_fcl_write_complete(struct fpga_manager *mgr,
struct fpga_image_info *info)
......@@ -375,6 +381,7 @@ static int gn412x_fcl_write_complete(struct fpga_manager *mgr,
if (err < 0)
return err;
return 0;
......@@ -421,6 +428,7 @@ static int gn412x_fcl_probe(struct platform_device *pdev)
goto err_map;
gn412x->mgr = compat_fpga_mgr_create(&pdev->dev,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment