]> Git Repo - J-linux.git/commit
fpga: fpga-mgr: wrap the write_init() op
authorTom Rix <[email protected]>
Fri, 25 Jun 2021 19:51:42 +0000 (12:51 -0700)
committerMoritz Fischer <[email protected]>
Sat, 24 Jul 2021 22:10:30 +0000 (15:10 -0700)
commit2e8438b754abcf13f2306237bd0bfe6e7dcb379a
treec50a451147b623c95c2c2afe1b906976b4c1889c
parent6f125e87184ea5f8ad677c2cc4a9c9c6e717554b
fpga: fpga-mgr: wrap the write_init() op

An FPGA manager should not be required to provide a
write_init() op if there is nothing for it do.
So add a wrapper and move the op checking.
Default to success.

[[email protected]: Reworded first line]
Signed-off-by: Tom Rix <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
drivers/fpga/fpga-mgr.c
This page took 0.062387 seconds and 4 git commands to generate.