[PATCHv1] fpga: mgr: add FPGA configuration log

From: richard . gong
Date: Tue Apr 02 2019 - 18:16:21 EST


From: Richard Gong <richard.gong@xxxxxxxxx>

Add a log for user to know FPGA configuration is successful

Signed-off-by: Richard Gong <richard.gong@xxxxxxxxx>
---
drivers/fpga/fpga-mgr.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c
index c386681..559e046 100644
--- a/drivers/fpga/fpga-mgr.c
+++ b/drivers/fpga/fpga-mgr.c
@@ -151,6 +151,7 @@ static int fpga_mgr_write_complete(struct fpga_manager *mgr,
}
mgr->state = FPGA_MGR_STATE_OPERATING;

+ dev_info(&mgr->dev, "Successfully programming FPGA\n");
return 0;
}

--
2.7.4