]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: imx6: Add speed change timeout message
authorTroy Kisky <troy.kisky@boundarydevices.com>
Fri, 12 Jun 2015 19:30:16 +0000 (14:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 12 Jun 2015 19:30:16 +0000 (14:30 -0500)
commita0427464cf4c4ae80aaa16dbcefc39ba9a5e258b
tree674331d4631baa77c042b503830fde1044533a4f
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
PCI: imx6: Add speed change timeout message

Currently, the timeout is never detected as count has a value of -1 if a
timeout happens, but the code is checking for 0.  Also, this patch removes
the unneeded final wait if a timeout occurs.

[bhelgaas: reworked starting from http://lkml.kernel.org/r/1433543864-7252-1-git-send-email-troy.kisky@boundarydevices.com]
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-imx6.c