Re: [PATCH] usb: musb: use the new %pa format specifier for dma_addr_t

2013-06-02 Thread Emil Goode
Maybe wait and see if %pa gets more usage and if the discussion comes up again. Best regards, Emil On Sat, Jun 01, 2013 at 04:22:18PM -0700, Joe Perches wrote: > On Sun, 2013-06-02 at 01:06 +0200, Emil Goode wrote: > > Maybe there should be another format specifier %da and Randy's > > clarifying

Re: [RFC Patch] USB: Add check for portnum in the usb_acpi_find_device()

2013-06-02 Thread Lan Tianyu
On 2013/5/31 19:18 Greg KH wrote the following: On Fri, May 31, 2013 at 02:18:06PM +0800, Lan Tianyu wrote: This patch is to add a check of "portnum" which from the usb port dev's name. Why do we need this now? The "portnum" will be used as array index for struct usb_hub->ports in the usb_se

Re: [PATCH V2 1/2] USB: OHCI: make ohci-platform a separate driver

2013-06-02 Thread Alan Stern
On Sun, 2 Jun 2013, Manjunath Goudar wrote: > On 31 May 2013 19:37, Alan Stern wrote: > > > > + return ohci_setup(ohci_to_hcd(ohci)); > > > > You don't need to use ohci_to_hcd(), because the hcd value is already a > > parameter in this function. > > > > > After setting ohci's flag and num_

Re: [PATCH v8 2/3] ARM: shmobile: r8a7778: add USB support

2013-06-02 Thread Kuninori Morimoto
Hi > Add USB clock and EHCI, OHCI, and USB PHY platform devices for R8A7778 SoC; > add > a function to register PHY device with board-specific platform data and > register > EHCI and OHCI platfrom devices from the init_late() board method. > > Also, don't forget to enable CONFIG_ARCH_HAS_[E

[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 Signed-off-by: Yijing Wang Cc: Paul Zimmerman Cc: linux-usb@vger.kernel.org Cc: de...@driverdev.osuosl.org --- drivers/staging/dwc2/pci.c |2 -- 1 files ch

[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 Cc: Felipe Balbi Cc: linux-o...@vger.kernel.org Cc: linux-usb@vger.kernel.org --- drivers/usb/dwc3/dwc3-pci.c |1 - 1 files changed, 0 insertions(+), 1 delet

[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 Cc: Alexander Shishkin Cc: linux-usb@vger.kernel.org --- drivers/usb/chipidea/ci13xxx_pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff -