[PATCH] PCI: designware: bail out if host_init failed

Han Jingoo jingoohan1 at gmail.com
Fri Nov 13 20:49:08 AEDT 2015


2015. 11. 12. Thusday, Jisheng Zhang<jszhang at marvell.com> wrote:

> There's no reason to continue the initialization such as configure
> register, scan root bus etc. if customized host_init() failed. This
> patch tries to check the host_init result, bail out if failed.
>
> Signed-off-by: Jisheng Zhang <jszhang at marvell.com <javascript:;>>


Acked-by: Jingoo Han <jingoohan1 at gmail.com>

---
>  drivers/pci/host/pci-dra7xx.c      |  4 +++-
>  drivers/pci/host/pci-exynos.c      |  4 +++-
>  drivers/pci/host/pci-imx6.c        |  4 +++-
>  drivers/pci/host/pci-keystone.c    |  4 +++-
>  drivers/pci/host/pci-layerscape.c  | 25 ++++++++++++++++---------
>  drivers/pci/host/pcie-designware.c |  7 +++++--
>  drivers/pci/host/pcie-designware.h |  2 +-
>  drivers/pci/host/pcie-spear13xx.c  |  4 +++-
>  8 files changed, 37 insertions(+), 17 deletions(-)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151113/9383d947/attachment.html>


More information about the Linuxppc-dev mailing list