diff options
| author | Wei Yongjun <[email protected]> | 2021-03-08 13:56:19 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2021-03-22 17:48:52 +0000 |
| commit | b5d9209d50838474fc1b2901d0e11bba59906428 (patch) | |
| tree | 64146cffcf8e2759648422fe81cd81cc83c88222 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | Linux 5.12-rc2 (diff) | |
| download | kernel-b5d9209d50838474fc1b2901d0e11bba59906428.tar.gz kernel-b5d9209d50838474fc1b2901d0e11bba59906428.zip | |
PCI: brcmstb: Fix error return code in brcm_pcie_probe()
Fix to return negative error code -ENODEV from the unsupported revision
error handling case instead of 0, as done elsewhere in this function.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 0cdfaceb9889 ("PCI: brcmstb: support BCM4908 with external PERST# signal controller")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Krzysztof WilczyĆski <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
