PCI: imx6: Fix bugs in PCIe startup code
authorRichard Zhu <r65037@freescale.com>
Thu, 12 Dec 2013 21:50:03 +0000 (22:50 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Dec 2013 18:02:34 +0000 (11:02 -0700)
commitbc9ef770047a931787e1b1e092dbe3993ce4e0fb
tree0958540a9f6b9c6825d11e7154dbe658c0f7599e
parentfa33a6d87eac1ab1457e632d32b7b4b74172e699
PCI: imx6: Fix bugs in PCIe startup code

LTSSM shouldn't be set once in assert_core_reset().  Move peripheral reset
just before LTSSM start.

Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Frank Li <lznuaa@gmail.com>
Cc: Harro Haan <hrhaan@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Mohit KUMAR <Mohit.KUMAR@st.com>
Cc: Pratyush Anand <pratyush.anand@st.com>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
Cc: Srikanth T Shivanand <ts.srikanth@samsung.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Troy Kisky <troy.kisky@boundarydevices.com>
Cc: Yinghai Lu <yinghai@kernel.org>
drivers/pci/host/pci-imx6.c