Skip to contentSkip to conversation

usb, chipidea: remove redundant D0 power state set

PATCH In review Yijing Wang 1 participant 1 message May 30, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 usb, chipidea: 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 ci13xxx_pci_probe().

---
 drivers/usb/chipidea/ci13xxx_pci.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/usb/chipidea/ci13xxx_pci.c +0 -1
index 4e1fc61..a2a6ac8 100644
@@ -71,7 +71,6 @@ static int ci13xxx_pci_probe(struct pci_dev *pdev,
 		goto disable_device;
 	}
 
-	pci_set_power_state(pdev, PCI_D0);
 	pci_set_master(pdev);
 	pci_try_set_mwi(pdev);
 
Signature · 1 line
1.7.1