diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-01-05 22:56:30 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-01-11 15:37:15 +0100 |
commit | 67de2dc34cc30d334cb66ab4f466e80f04d5b618 (patch) | |
tree | e282df825640d717e00e914c99e533f0d5f40541 /MAINTAINERS | |
parent | PCI: designware: Simplify control flow (diff) | |
download | linux-67de2dc34cc30d334cb66ab4f466e80f04d5b618.tar.xz linux-67de2dc34cc30d334cb66ab4f466e80f04d5b618.zip |
PCI: designware: Make config accessor override checking symmetric
Drivers based on the DesignWare core can override the config read accessors
by supplying rd_own_conf() and rd_other_conf() function pointers.
dw_pcie_rd_conf() calls dw_pcie_rd_own_conf() (for accesses to the root
bus) or dw_pcie_rd_other_conf():
dw_pcie_rd_conf
dw_pcie_rd_own_conf # if on root bus
dw_pcie_rd_other_conf # if not on root bus
Previously we checked for rd_other_conf() directly in dw_pcie_rd_conf(),
but we checked for rd_own_conf() in dw_pcie_rd_own_conf().
Check for rd_other_conf() in dw_pcie_rd_other_conf() to make this symmetric
with the rd_own_conf() checking, and similarly for the write path.
No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions