From f016a16d8c1f6cd0567a88d0a5843aab385e969a Mon Sep 17 00:00:00 2001 From: Yijing Wang Date: Thu, 30 May 2013 18:19:40 +0800 Subject: [PATCH] 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 Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-pci.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2