Commit ff074ce
drivers: fpga: dfl: handle empty port list
Not all FPGA designs managed by the DFL driver have a port.
In these cases, don't write the Port Access Control register
when enabling SRIOV.
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>1 parent 7e275e7 commit ff074ce
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
| 1697 | + | |
| 1698 | + | |
1697 | 1699 | | |
1698 | 1700 | | |
1699 | 1701 | | |
| |||
0 commit comments