diff options
author | Jiantao Zhang <[email protected]> | 2022-03-09 20:01:04 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-04-08 15:42:12 +0100 |
commit | 88557685cd72cf0db686a4ebff3fad4365cb6071 (patch) | |
tree | 446b1553a32693fda07037316c3aa09deb2af302 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
PCI: dwc: Fix setting error return on MSI DMA mapping failure
When dma_mapping_error() returns error because of no enough memory,
but dw_pcie_host_init() returns success, which will mislead the callers.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 07940c369a6b ("PCI: dwc: Fix MSI page leakage in suspend/resume")
Signed-off-by: Jianrong Zhang <[email protected]>
Signed-off-by: Jiantao Zhang <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions