diff options
author | Niklas Cassel <[email protected]> | 2017-12-20 00:29:24 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2017-12-21 11:09:44 +0000 |
commit | 1cab826b30c6275d479a6ab1dea1067e15dbec62 (patch) | |
tree | 5400206c80bdeaab86d4f910dc9712adcf9c3b8d /drivers/fpga/fpga-mgr.c | |
parent | 099a95f3591ade29da52131895a3ba9f92a0e82c (diff) |
PCI: designware-ep: Read-only registers need DBI_RO_WR_EN to be writable
Certain registers that pcie-designware-ep tries to write to are read-only
registers. However, these registers can become read/write if we first
enable the DBI_RO_WR_EN bit. Set/unset the DBI_RO_WR_EN bit before/after
writing these registers.
Tested-by: Gustavo Pimentel <[email protected]>
Signed-off-by: Niklas Cassel <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Joao Pinto <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions