MLK-14796 PCI: imx: kernel panic when reboot ep board
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 4 May 2017 06:58:35 +0000 (14:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:13 +0000 (15:22 -0500)
commit8bb228aa1ea493cb037958be034961aac7db5801
tree1e6e91c311f4930b49583ea152f0cec18b7bdcb8
parent4540834d385bd19e3a7f8711e357d6baf21cc93d
MLK-14796 PCI: imx: kernel panic when reboot ep board

pp->ops is not assigned properly, thus there
would be kernel panic when reboot ep board.
Initialized pp->ops in ep initializatione,
fix this issue.
don't call dw_pcie_wait_for_link because
the usleep is used in it.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/pci/host/pci-imx6.c