PCI: endpoint: Add support to poll early for host commands
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 18 Aug 2017 14:58:00 +0000 (20:28 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 21:00:38 +0000 (16:00 -0500)
commit702a3ed9d6ea8c9fe438725c32bfe7d967959070
treeb8b05d148e543ddf1aa9a18b4a285a6c7b6de1c0
parent3235b994950d84d64dd7c60a1dfe05b51a1533bf
PCI: endpoint: Add support to poll early for host commands

Certain platforms like TI's K2G doesn't support link-up notification. Add
support to poll early (without waiting for the linkup notification) for
commands from the host.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/endpoint/functions/pci-epf-test.c