[PATCH] usb: remove redundant D0 power state set

2014-04-28 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again after call pci_enable_device(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/usb/core/hcd-pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/core/hcd

[PATCH 1/2] usb: Use dev_is_pci() to check whether it is pci device

2013-12-05 Thread Yijing Wang
Use PCI standard marco dev_is_pci() instead of directly compare pci_bus_type to check whether it is pci device. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/usb/host/ehci-dbg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-dbg.c b

[PATCH 2/2] uwb: Use dev_is_pci() to check whether it is pci device

2013-12-05 Thread Yijing Wang
Use PCI standard marco dev_is_pci() instead of directly compare pci_bus_type to check whether it is pci device. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/uwb/umc-bus.c |2 +- include/linux/uwb/umc.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[RESEND][PATCH 2/7] usb, dwc3: remove redundant D0 power state set

2013-06-04 Thread Yijing Wang
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 wangyij...@huawei.com Cc: Felipe Balbi ba...@ti.com Cc: linux-o...@vger.kernel.org Cc: linux-usb@vger.kernel.org --- drivers/usb/dwc3/dwc3-pci.c |1 - 1 files

[PATCH 5/7] dwc2: remove redundant D0 power state set

2013-06-02 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in dwc2_driver_probe(). Acked-by: Paul Zimmerman pa...@synopsys.com Signed-off-by: Yijing Wang wangyij...@huawei.com Cc: Paul Zimmerman pa...@synopsys.com Cc: linux-usb@vger.kernel.org Cc: de

[PATCH 2/7] usb, dwc3: remove redundant D0 power state set

2013-06-02 Thread Yijing Wang
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 wangyij...@huawei.com Cc: Felipe Balbi ba...@ti.com Cc: linux-o...@vger.kernel.org Cc: linux-usb@vger.kernel.org --- drivers/usb/dwc3/dwc3-pci.c |1 - 1 files

[PATCH 1/7] usb, chipidea: remove redundant D0 power state set

2013-06-02 Thread Yijing Wang
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 wangyij...@huawei.com Cc: Alexander Shishkin alexander.shish...@linux.intel.com Cc: linux-usb@vger.kernel.org --- drivers/usb/chipidea/ci13xxx_pci.c |1

[PATCH 1/7] usb, chipidea: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
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 wangyij...@huawei.com --- drivers/usb/chipidea/ci13xxx_pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/chipidea

[PATCH 2/7] usb, dwc3: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
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 wangyij...@huawei.com --- drivers/usb/dwc3/dwc3-pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c b

[PATCH 5/7] dwc2: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in dwc2_driver_probe(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/staging/dwc2/pci.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dwc2/pci.c b