projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91e3af6
)
usb: dwc3: remove redundant D0 power state set
author
Yijing Wang
<wangyijing@huawei.com>
Thu, 30 May 2013 10:19:40 +0000
(18:19 +0800)
committer
Felipe 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
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/dwc3-pci.c
b/drivers/usb/dwc3/dwc3-pci.c
index 227d4a7acad7595d4774e9fc335a790c742087be..c06860831c78df043a09f351068b1015d0ed6afa 100644
(file)
--- 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);