summaryrefslogtreecommitdiff
path: root/tools/power/acpi/os_specific/service_layers/osunixdir.c
diff options
context:
space:
mode:
authorDongdong Liu <liudongdong3@huawei.com>2015-12-04 16:32:25 -0600
committerBjorn Helgaas <bhelgaas@google.com>2015-12-04 16:32:25 -0600
commit1dbe162d53e11665b48a1c122899ffc2c068bef4 (patch)
tree9b13509d3fa6afcb6cf3a5d9f70c4ab295bb3a05 /tools/power/acpi/os_specific/service_layers/osunixdir.c
parent99496bd2971fc378226ad4413e5b72c4545714bd (diff)
PCI: hisi: Fix hisi_pcie_cfg_read() 32-bit reads
For 32-bit config reads (size == 4), hisi_pcie_cfg_read() returned success but never filled in the data we read. Return the register data for 32-bit config reads. Without this fix, PCI doesn't work at all because enumeration depends on 32-bit config reads. The driver was tested internally, but got broken in the process of upstreaming, so this fixes the breakage. Fixes: 500a1d9a43e0 ("PCI: hisi: Add HiSilicon SoC Hip05 PCIe driver") Signed-off-by: Dongdong Liu <liudongdong3@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Diffstat (limited to 'tools/power/acpi/os_specific/service_layers/osunixdir.c')
0 files changed, 0 insertions, 0 deletions