diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-05-30 18:19:40 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-06-01 00:21:45 +0300 |
commit | f016a16d8c1f6cd0567a88d0a5843aab385e969a (patch) | |
tree | 0fd44404404ff9cd86f44575fb2ada95fe697c34 /drivers/usb/dwc3 | |
parent | 91e3af64c77f333155e253e9c399c746e087855f (diff) |
usb: dwc3: remove redundant D0 power state set
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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/dwc3-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index 227d4a7acad7..c06860831c78 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -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); |