Skip to content

Commit

Permalink
usb: dwc3: remove redundant D0 power state set
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yijing Wang authored and Felipe Balbi committed May 31, 2013
1 parent 91e3af6 commit f016a16
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/dwc3/dwc3-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f016a16

Please sign in to comment.