aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-06-02 22:11:16 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-03 14:01:36 -0400
commit2373536537efa4d9d71da12a666c081ebc9a1ba1 (patch)
treebf61d052a7f8ac2ef4f6cfebba9fc963869a6a7a /drivers/usb/chipidea
parent06a962fa7f9bf068eb1238d7aa20453b9e11a9fd (diff)
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(). Signed-off-by: Yijing Wang <wangyijing@huawei.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r--drivers/usb/chipidea/ci13xxx_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci13xxx_pci.c b/drivers/usb/chipidea/ci13xxx_pci.c
index 4e1fc61b9d95..a2a6ac871f7a 100644
--- a/drivers/usb/chipidea/ci13xxx_pci.c
+++ b/drivers/usb/chipidea/ci13xxx_pci.c
@@ -71,7 +71,6 @@ static int ci13xxx_pci_probe(struct pci_dev *pdev,
71 goto disable_device; 71 goto disable_device;
72 } 72 }
73 73
74 pci_set_power_state(pdev, PCI_D0);
75 pci_set_master(pdev); 74 pci_set_master(pdev);
76 pci_try_set_mwi(pdev); 75 pci_try_set_mwi(pdev);
77 76