All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6: Fix "BUG: scheduling while atomic" if PCIe switch is attached
@ 2015-06-18  7:56 ` David Müller
  0 siblings, 0 replies; 14+ messages in thread
From: David Müller @ 2015-06-18  7:56 UTC (permalink / raw)
  To: linux-pci; +Cc: Richard Zhu, Lucas Stach, Bjorn Helgaas, linux-arm-kernel

This problem has already been reported as 
https://bugzilla.kernel.org/show_bug.cgi?id=100031

Signed-off-by: David Müller <dave.mueller@gmx.ch>
---
 drivers/pci/host/pci-imx6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index fdb9536..c63691c 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -489,7 +489,7 @@ static int imx6_pcie_link_up(struct pcie_port *pp)
 		 * Wait a little bit, then re-check if the link finished
 		 * the training.
 		 */
-		usleep_range(1000, 2000);
+		mdelay(20);
 	}
 	/*
 	 * From L0, initiate MAC entry to gen2 if EP/RC supports gen2.
-- 
1.8.4


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-07-14 18:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18  7:56 [PATCH] ARM: imx6: Fix "BUG: scheduling while atomic" if PCIe switch is attached David Müller
2015-06-18  7:56 ` David Müller
2015-06-18  8:27 ` Lucas Stach
2015-06-18  8:27   ` Lucas Stach
2015-06-22 13:30   ` Fabio Estevam
2015-06-22 13:30     ` Fabio Estevam
2015-06-22 13:37     ` Lucas Stach
2015-06-22 13:37       ` Lucas Stach
2015-06-22 13:46       ` Fabio Estevam
2015-06-22 13:46         ` Fabio Estevam
2015-06-18 13:21 ` Bjorn Helgaas
2015-06-18 13:21   ` Bjorn Helgaas
2015-07-14 18:33 ` Bjorn Helgaas
2015-07-14 18:33   ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.