]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: imx6: Do not switch speed if Gen2 is disabled
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 28 Mar 2017 15:42:52 +0000 (08:42 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Apr 2017 22:58:33 +0000 (17:58 -0500)
commit93b226f9c65a951a91617f87ba1f05f14e59f26f
tree6a0a321462cbc3c7fd0a48f8cf921c59042fb812
parente6dcd87fff69a9d454104b65569074855cf95b1e
PCI: imx6: Do not switch speed if Gen2 is disabled

Save a bit of time and avoid going through link speed change procedure in
configuration where link max speed is limited to Gen1 in DT.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Cc: yurovsky@gmail.com
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Dong Aisheng <dongas86@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
drivers/pci/dwc/pci-imx6.c