1
0
Fork 0
alistair23-linux/Documentation/fpga
Alan Tull ebf877a51a fpga: mgr: separate getting/locking FPGA manager
Previously when the user gets a FPGA manager, it was locked
and nobody else could use it for programming.

This commit makes it straightforward to save a reference to an
FPGA manager and only lock it when programming the FPGA.

Add functions that get an FPGA manager's mutex for exclusive use:
* fpga_mgr_lock
* fpga_mgr_unlock

The following functions no longer lock an FPGA manager's mutex:
* of_fpga_mgr_get
* fpga_mgr_get
* fpga_mgr_put

Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 16:30:37 +01:00
..
fpga-mgr.txt fpga: mgr: separate getting/locking FPGA manager 2017-11-28 16:30:37 +01:00
fpga-region.txt fpga: mgr: API change to replace fpga load functions with single function 2017-11-28 16:30:37 +01:00
overview.txt fpga: mgr: API change to replace fpga load functions with single function 2017-11-28 16:30:37 +01:00