usb: dwc3: remove redundant D0 power state set
authorYijing Wang <wangyijing@huawei.com>
Thu, 30 May 2013 10:19:40 +0000 (18:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 31 May 2013 21:21:45 +0000 (00:21 +0300)
Pci_enable_device() will set device power state to D0,
so it's no need to do it again in dwc3_pci_probe().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-pci.c

index 227d4a7..c068608 100644 (file)
@@ -133,7 +133,6 @@ static int dwc3_pci_probe(struct pci_dev *pci,
                return -ENODEV;
        }
 
-       pci_set_power_state(pci, PCI_D0);
        pci_set_master(pci);
 
        ret = dwc3_pci_register_phys(glue);