Merge branch 'lorenzo/pci/endpoint'
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 6 Jun 2018 21:10:30 +0000 (16:10 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 6 Jun 2018 21:10:30 +0000 (16:10 -0500)
  - use usleep() instead of mdelay() in endpoint test (Jia-Ju Bai)

  - add configfs entries for pci_epf_driver device IDs (Kishon Vijay
    Abraham I)

  - clean up pci_endpoint_test driver (Gustavo Pimentel)

* lorenzo/pci/endpoint:
  PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
  misc: pci_endpoint_test: Use pci_irq_vector function
  PCI: endpoint: functions/pci-epf-test: Replace lower into upper case characters
  misc: pci_endpoint_test: Replace lower into upper case characters
  PCI: endpoint: Replace mdelay with usleep_range() in pci_epf_test_write()

1  2 
drivers/misc/pci_endpoint_test.c
drivers/pci/endpoint/functions/pci-epf-test.c

Simple merge
@@@ -435,16 -435,9 +435,16 @@@ static int pci_epf_test_bind(struct pci
        if (WARN_ON_ONCE(!epc))
                return -EINVAL;
  
 +      if (epc->features & EPC_FEATURE_NO_LINKUP_NOTIFIER)
 +              epf_test->linkup_notifier = false;
 +      else
 +              epf_test->linkup_notifier = true;
 +
 +      epf_test->test_reg_bar = EPC_FEATURE_GET_BAR(epc->features);
 +
        ret = pci_epc_write_header(epc, epf->func_no, header);
        if (ret) {
-               dev_err(dev, "configuration header write failed\n");
+               dev_err(dev, "Configuration header write failed\n");
                return ret;
        }