RE: Query: xhci: isoc in test: Wrong sequence number in ACK token

2012-10-05 Thread Paul Zimmerman
> From: Pratyush Anand [mailto:pratyush.an...@st.com] > Sent: Friday, October 05, 2012 7:08 PM > > Hi Paul, > > Thanks for the help. > > On 10/6/2012 12:23 AM, Paul Zimmerman wrote: > > If the host controller in your PC is not connected thru a PCIe bridge > > with multiple lanes, the connection

Re: Query: xhci: isoc in test: Wrong sequence number in ACK token

2012-10-05 Thread Pratyush Anand
Hi Paul, Thanks for the help. On 10/6/2012 12:23 AM, Paul Zimmerman wrote: If the host controller in your PC is not connected thru a PCIe bridge with multiple lanes, the connection will not be fast enough to support that high of a transfer rate. And maybe on your eval board the host controller

Re: Link PM policy advice?

2012-10-05 Thread Sarah Sharp
On Fri, Oct 05, 2012 at 02:34:35PM -0700, Greg KH wrote: > On Fri, Oct 05, 2012 at 04:51:53PM -0400, Alan Stern wrote: > > On Fri, 5 Oct 2012, Sarah Sharp wrote: > > > > > One way we could work around these broken devices is have a dynamic > > > black list of device vendor and product IDs that sho

Re: [PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-05 Thread Sergei Shtylyov
Hello. On 05-10-2012 12:07, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 72

[PATCH] USB: usb.h: remove dbg() macro

2012-10-05 Thread Greg Kroah-Hartman
There are no users of this macro anymore in the kernel tree, so finally delete it. Signed-off-by: Greg Kroah-Hartman --- include/linux/usb.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/include/linux/usb.h b/include/linux/usb.h index 07915a3..10278d1 100644 --- a/include/linux

Re: Link PM policy advice?

2012-10-05 Thread Sarah Sharp
On Fri, Oct 05, 2012 at 04:51:53PM -0400, Alan Stern wrote: > On Fri, 5 Oct 2012, Sarah Sharp wrote: > > > One way we could work around these broken devices is have a dynamic > > black list of device vendor and product IDs that shouldn't have LPM > > enabled. We already have such a black list in

Re: Link PM policy advice?

2012-10-05 Thread Greg KH
On Fri, Oct 05, 2012 at 04:51:53PM -0400, Alan Stern wrote: > On Fri, 5 Oct 2012, Sarah Sharp wrote: > > > One way we could work around these broken devices is have a dynamic > > black list of device vendor and product IDs that shouldn't have LPM > > enabled. We already have such a black list in

Re: Link PM policy advice?

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, Sarah Sharp wrote: > One way we could work around these broken devices is have a dynamic > black list of device vendor and product IDs that shouldn't have LPM > enabled. We already have such a black list in the xHCI driver for > devices that don't handle USB 2.0 LPM. > > My i

Link PM policy advice?

2012-10-05 Thread Sarah Sharp
I've been testing the new USB 3.0 Link PM (LPM) code with more devices, and I'm starting to wonder if the kernel needs to be a bit smarter about when it enables LPM. The USB 3.0 spec mandates that all device support link PM, but some don't of course. There's interesting states of brokenness, and

RE: Query: xhci: isoc in test: Wrong sequence number in ACK token

2012-10-05 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Pratyush Anand > Sent: Thursday, October 04, 2012 11:03 PM < snip > > So, basically I am trying to transfer 3 * 9 * 1024 = 27 KBytes/125 us. > > I run following command at host PC. > > ./testusb -a

Re: [PATCH 09/16] USB: EHCI: mark ehci_orion_conf_mbus_windows __devinit

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, Arnd Bergmann wrote: > The __devinit section is going away soon, but while it's > still there, we get a correct warning about > ehci_orion_conf_mbus_windows being discarded before > its caller, so it should be marked __devinit rather than > __init. > > Without this patch, buil

Re: [PATCH 00/32 v3] USB: EHCI and OHCI platform driver conversions

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, Florian Fainelli wrote: > Hi all, > > This patch series contains EHCI and OHCI platform drivers conversions, > allowing quite some EHCI and OHCI platform drivers to be deleted. > > While converting, Alan Stern asked me to fold some cleanups and fixes in the > EHCI and OHCI pl

Re: [PATCH 13/32 v2] USB: ohci: move ohci_pci_{suspend,resume} to ohci-hcd.c

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, Florian Fainelli wrote: > As suggested by Alan Stern, move the ohci-pci.c ohci_pci_{suspend,resume} > routines to ohci-hcd.c. Due to their move, also rename them to > ohci_{suspend,resume} to make it clear they operate on ohci_hcd. Since they > are not necessarily called, annot

Re: [PATCH 02/32] USB: OHCI: remove ohci-pcc-soc driver.

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, Florian Fainelli wrote: > This driver is not registered by any in-tree users, and if really needed by > some out of tree user, the same functionnality can be restored using the > ohci-platform driver using the following platform_data parameters: > big_endian_desc = 1 >

Re: some question about xhci ep0 setting

2012-10-05 Thread Sarah Sharp
On Fri, Oct 05, 2012 at 10:34:19AM +0800, loody wrote: > hi Sarah: > > 2012/10/5 Sarah Sharp : > > On Thu, Oct 04, 2012 at 01:47:44PM +0800, loody wrote: > >> Hi all: > >> from below out put slot context it shows ep0 consumer cycle bit is 1 > >> but why when we enqueue control transfer we purposel

Re: some question about xhci ep0 setting

2012-10-05 Thread Sarah Sharp
On Fri, Oct 05, 2012 at 01:27:10PM +0800, loody wrote: > hi Sarah: > > 2012/10/5 Sarah Sharp : > > On Thu, Oct 04, 2012 at 01:47:44PM +0800, loody wrote: > >> Hi all: > >> from below out put slot context it shows ep0 consumer cycle bit is 1 > >> but why when we enqueue control transfer we purposel

[PATCH 32/32 v2] USB: OHCI: make ohci-platform use devm_request_and_ioremap helper

2012-10-05 Thread Florian Fainelli
This patch changes the ohci-platform driver to use the device managed helper function for requesting memory region and ioremapping memory resources. As a result the error path in the probe function is simplified, and the platform driver remove callback does not longer need to release and iounmap me

[PATCH 31/32 v2] USB: EHCI: make ehci-platform use devm_request_and_ioremap helper

2012-10-05 Thread Florian Fainelli
This patch changes the ehci-platform driver to use the device managed helper function for requesting memory region and ioremapping memory resources. As a result the error path in the probe function is simplified, and the platform driver remove callback does not longer need to release and iounmap me

Re: Bug#677472: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-10-05 Thread Frank Schäfer
Am 05.10.2012 18:44, schrieb Octavio Alvarez: > On 10/05/2012 07:56 AM, Alan Stern wrote: >> On Mon, 9 Jul 2012, Octavio Alvarez wrote: >> What happens if you unplug only the keyboard, or only the mouse? >>> >>> The only thing I can confirm for now is that with both disconnected >>> the system

[PATCH 02/32] USB: OHCI: remove ohci-pcc-soc driver.

2012-10-05 Thread Florian Fainelli
This driver is not registered by any in-tree users, and if really needed by some out of tree user, the same functionnality can be restored using the ohci-platform driver using the following platform_data parameters: big_endian_desc = 1 big_endian_mmio = 1 no_big_frame_no = 1

[PATCH 05/32 v3] MIPS: Netlogic: use ehci-platform driver

2012-10-05 Thread Florian Fainelli
The EHCI platform driver is suitable for use by the Netlogic XLR platform since there is nothing specific that the EHCI XLR platform driver does. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - really change driver name to "ehci-platform" - slightly reworded commit message

[PATCH 07/32 v3] USB: EHCI: add no_io_watchdog platform_data parameter to ehci-platform

2012-10-05 Thread Florian Fainelli
Enhance the ehci-platform driver to also accept no_io_watchdog as a platform data parameter. When no_io_watchdog is set to 1, the ehci controller will set ehci->need_io_watchdog to 0. Since most EHCI controllers do need the I/O watchdog to be on, only let those which need it to turn the watchdog of

[PATCH 03/32 v3] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-05 Thread Florian Fainelli
The Loongson 1B EHCI driver does nothing more than what the EHCI platform driver already does, so use the generic implementation. Signed-off-by: Florian Fainelli --- No changes since v1 arch/mips/configs/ls1b_defconfig |1 + arch/mips/loongson1/common/platform.c |8 +++- 2 file

[PATCH 04/32 v3] USB: EHCI: remove Loongson 1B EHCI driver.

2012-10-05 Thread Florian Fainelli
The platform code registering the Loongson 1B EHCI driver has now been converted to register the ehci-platform driver instead, thus obsoleting the ehci-ls1x driver, which can be removed. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - reworded commit message drivers/usb/h

[PATCH 01/32 v3] USB: EHCI: remove IXP4xx EHCI driver

2012-10-05 Thread Florian Fainelli
This driver is not registered by any in-tree user. If needed it the EHCI driver can be reinstatied using the ehci-platform driver with caps_offset to 0x100. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - slightly reworded commit message drivers/usb/host/ehci-hcd.c|

[PATCH 06/32 v3] USB: EHCI: remove Netlogic XLS EHCI driver

2012-10-05 Thread Florian Fainelli
The platform code has been migrated to register the ehci-platform driver, thus obsoleting the ehci-xls driver, which can be removed. Signed-off-by: Florian Fainelli --- Changes in v2: - reworded commit message drivers/usb/host/ehci-hcd.c |5 -- drivers/usb/host/ehci-xls.c | 142 ---

[PATCH 08/32 v3] MIPS: Alchemy: use the ehci platform driver

2012-10-05 Thread Florian Fainelli
Use the ehci platform driver power_{on,suspend,off} callbacks to perform the USB block gate enabling/disabling as what the ehci-au1xxx.c driver does. Update the db1200 and db1300 defconfigs to now select the EHCI platform driver. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2

[PATCH 10/32 v3] ARM: cns3xxx: use ehci platform driver

2012-10-05 Thread Florian Fainelli
This patch converts the cns3xxx platform to use the ehci-platform driver instead of the ehci-cns3xxx platform driver. The ehci-platform driver is provided with power_{on,off} callbacks to ensure proper block gating and USB configuration of the EHCI controller. Signed-off-by: Florian Fainelli ---

[PATCH 09/32 v3] USB: EHCI: remove Alchemy EHCI driver

2012-10-05 Thread Florian Fainelli
The platform code has been converted to use the ehci-platform driver instead thus obsoleting the ehci-au1xxx driver, which can be removed. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - reworded commit message drivers/usb/host/ehci-au1xxx.c | 184 ---

[PATCH 13/32 v2] USB: ohci: move ohci_pci_{suspend,resume} to ohci-hcd.c

2012-10-05 Thread Florian Fainelli
As suggested by Alan Stern, move the ohci-pci.c ohci_pci_{suspend,resume} routines to ohci-hcd.c. Due to their move, also rename them to ohci_{suspend,resume} to make it clear they operate on ohci_hcd. Since they are not necessarily called, annotate them with __maybe_unused. Signed-off-by: Florian

[PATCH 16/32 v3] MIPS: PNX8550: use OHCI platform driver

2012-10-05 Thread Florian Fainelli
Change the PNX8550 platform code to register an ohci-platform driver instead of ohci-pnx8550 since the ohci-platform is suitable for use. Signed-off-by: Florian Fainelli --- No changes in v2 and v3 arch/mips/pnx8550/common/platform.c | 31 ++- 1 file changed, 30 in

Re: [PATCH 31/32] USB: EHCI: make ehci-platform use devm_{ioremap,request_mem_region} helpers

2012-10-05 Thread Florian Fainelli
FlorianOn Friday 05 October 2012 18:21:03 Fainelli wrote: > This patch changes the ehci-platform driver to use the device managed helper > functions for requesting memory region and ioremapping memory resources. > As a result the error path in the probe function is simplified, and the > platform d

[PATCH 18/32 v3] ARM: cns3xxx: use OHCI platform driver

2012-10-05 Thread Florian Fainelli
This patch converts the cns3xxx platform to use the ohci-platform driver which is now suitable for use. A previous patch converted the cns3xxx platform to use the ehci-platform driver, and thus introduced the need to have power_{on,off} callbacks. Since both the EHCI and OHCI platform drivers use

[PATCH 17/32 v3] USB: OHCI: remove PNX8550 OHCI driver

2012-10-05 Thread Florian Fainelli
The users have been converted to use the platform OHCI driver instead, thus making the ohci-pnx8550 driver obsolete, so remove it. Signed-off-by: Florian Fainelli --- No changes in v2 and v3 drivers/usb/host/ohci-hcd.c |5 - drivers/usb/host/ohci-pnx8550.c | 243 ---

[PATCH 21/32 v3] USB: OHCI: remove Netlogic XLS OHCI platform driver

2012-10-05 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-xls obsolete, remove it. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - reworded commit message drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-xls.c | 152 -

[PATCH 23/32 v3] USB: OHCI: remove OHCI SH platform driver

2012-10-05 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-sh obsolete, so remove it. Signed-off-by: Florian Fainelli --- No changes in v2 and v3 drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-sh.c | 141 ---

Re: MUSB regression in linux next at least for pandboard

2012-10-05 Thread Tony Lindgren
* Tony Lindgren [121004 18:41]: > > > > > Also on the EHCI port, I've seen issues where unplugging > > > the cable hangs kernel with an infinite loop. But that happens > > > only occasionally, sorry does not seem to happen right > > > now so no output to paste here. Or maybe this issue > > > has

[PATCH 27/32] USB: EHCI: make ehci-platform use dev_err() instead of pr_err()

2012-10-05 Thread Florian Fainelli
This patch converts the ehci-platform driver to make use of the dev_err() functions instead of pr_err(). Signed-off-by: Florian Fainelli --- drivers/usb/host/ehci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/us

[PATCH 29/32] USB: EHCI: fix typo in ehci-platform driver on the word "resource"

2012-10-05 Thread Florian Fainelli
Fix the obvious typo in the error message, we meant to write "resource" instead of "recourse". Signed-off-by: Florian Fainelli --- drivers/usb/host/ehci-platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-plat

[PATCH 24/32 v3] MIPS: Alchemy: use the OHCI platform driver

2012-10-05 Thread Florian Fainelli
Convert the Alchemy platform to register the ohci-platform driver, now that the ohci-platform driver properly handles the specific ohci-au1xxx resume from suspend case. This also greatly simplifies the power_{on,off} callbacks and make them work on platform device id instead of checking the OHCI c

[PATCH 22/32 v3] sh: convert boards to use the OHCI platform driver

2012-10-05 Thread Florian Fainelli
This patch makes all SuperH boards using the ohci-sh platform driver to use the ohci-platform driver instead, which is suitable for use by these boards. Signed-off-by: Florian Fainelli --- Changes in v3: - improved commit message No changes between v1 and v2 arch/sh/kernel/cpu/sh3/setup-sh7720

[PATCH 20/32 v3] MIPS: Netlogic: convert to use OHCI platform driver

2012-10-05 Thread Florian Fainelli
The OHCI platform driver is suitable for use by the Netlogic XLR platform so use this driver instead of the OHCI XLS platform driver. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - really make the code register the "ohci-platform" driver instead of "ohci-xls" arch/mips/n

[PATCH 12/32 v3] USB: ohci: allow platform driver to specify the number of ports

2012-10-05 Thread Florian Fainelli
This patch modifies the ohci platform driver to accept the num_ports parameter to be set via platform_data. Setting the number of ports must be done after the call to ohci_hcd_init(). Signed-off-by: Florian Fainelli --- Changes in v3: - improved commit message drivers/usb/host/ohci-platform.c |

[PATCH 11/32 v3] USB: EHCI: remove CNS3xxx EHCI platform driver

2012-10-05 Thread Florian Fainelli
The users have been converted to use the ehci platform driver instead, thus making the ehci-cns3xxx driver obsolete, so remove it. Signed-off-by: Florian Fainelli --- Changes in v1: - only remove the corresponding chunk from ehci-hcd drivers/usb/host/Kconfig|6 +- drivers/usb/host/e

[PATCH 25/32 v3] USB: OHCI: remove Alchemy OHCI platform driver.

2012-10-05 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-au1xxx obsolete, remove it. Signed-off-by: Florian Fainelli --- No changes in v3 Changes in v2: - rebased on top of the latest OHCI HCD changes drivers/usb/host/ohci-au1xxx.c | 234

[PATCH 26/32] USB: move common alchemy USB routines to arch/mips/alchemy/common.c

2012-10-05 Thread Florian Fainelli
A previous patch converted the Alchemy platform to use the OHCI and EHCI platform drivers. As a result, all the common logic to handle USB present in drivers/usb/host/alchemy-common.c has no reason to remain here, so we move it to arch/mips/alchemy/common/usb.c which is a more appropriate place. Th

[PATCH 28/32] USB: OHCI: make ohci-platform use dev_err() instead of pr_err()

2012-10-05 Thread Florian Fainelli
This patch converts the ohci-platform driver to use dev_err() functions instead of pr_err(). Signed-off-by: Florian Fainelli --- drivers/usb/host/ohci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-

[PATCH 30/32] USB: OHCI: fix typo in ohci-platform driver on the word "resource"

2012-10-05 Thread Florian Fainelli
We meant to write "resource" instead of "recourse", this patch fixes this typo. Signed-off-by: Florian Fainelli --- drivers/usb/host/ohci-platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index 8a

[PATCH 32/32] USB: OHCI: make ohci-platform use devm_{ioremap,request_mem_region} helpers

2012-10-05 Thread Florian Fainelli
This patch changes the ohci-platform driver to use the device managed helper functions for requesting memory region and ioremapping memory resources. As a result the error path in the probe function is simplified, and the platform driver remove callback does not longer need to release and iounmap m

[PATCH 31/32] USB: EHCI: make ehci-platform use devm_{ioremap,request_mem_region} helpers

2012-10-05 Thread Florian Fainelli
This patch changes the ehci-platform driver to use the device managed helper functions for requesting memory region and ioremapping memory resources. As a result the error path in the probe function is simplified, and the platform driver remove callback does not longer need to release and iounmap m

[PATCH 19/32 v3] USB: OHCI: remove CNS3xxx OHCI platform driver

2012-10-05 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-cns3xxx, so remove it. Signed-off-by: Florian Fainelli --- Changes in v2: - reworded commit message drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-cns3xxx.c | 166 -

[PATCH 15/32 v2] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-05 Thread Florian Fainelli
Merge ohci_finish_controller_resume with ohci_resume as suggested by Alan Stern. Since ohci_finish_controller_resume no longer exists, update the various OHCI drivers to call ohci_resume() instead. Some drivers used to set themselves the bit HCD_FLAG_HW_ACCESSIBLE, which is now handled by ohci_resu

[PATCH 14/32 v2] USB: ohci: remove check for RH already suspended in ohci_suspend

2012-10-05 Thread Florian Fainelli
As suggested by Alan Stern, the code checking for the OHCI RH already suspended is no longer required since the bug it fixes has not been seen in ages. Remove that check making ohci_suspend much simpler. Signed-off-by: Florian Fainelli --- No changes since v1 drivers/usb/host/ohci-hcd.c | 11

[PATCH 00/32 v3] USB: EHCI and OHCI platform driver conversions

2012-10-05 Thread Florian Fainelli
Hi all, This patch series contains EHCI and OHCI platform drivers conversions, allowing quite some EHCI and OHCI platform drivers to be deleted. While converting, Alan Stern asked me to fold some cleanups and fixes in the EHCI and OHCI platform drivers, these changes have now been addressed. Cha

Re: Bug#677472: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-10-05 Thread Octavio Alvarez
On 10/05/2012 07:56 AM, Alan Stern wrote: On Mon, 9 Jul 2012, Octavio Alvarez wrote: What happens if you unplug only the keyboard, or only the mouse? The only thing I can confirm for now is that with both disconnected the system consistently suspends and that I have seen the system NOT suspen

Re: Bug#677472: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-10-05 Thread Alan Stern
On Mon, 9 Jul 2012, Octavio Alvarez wrote: > > What happens if you unplug only the keyboard, or only the mouse? > > The only thing I can confirm for now is that with both disconnected > the system consistently suspends and that I have seen the system NOT > suspend with either one connected. > >

[PATCH 09/16] USB: EHCI: mark ehci_orion_conf_mbus_windows __devinit

2012-10-05 Thread Arnd Bergmann
The __devinit section is going away soon, but while it's still there, we get a correct warning about ehci_orion_conf_mbus_windows being discarded before its caller, so it should be marked __devinit rather than __init. Without this patch, building dove_defconfig results in: WARNING: drivers/usb/ho

Re: [PATCH] USB: ohci-s3c2410: use devm_ functions

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, Jingoo Han wrote: > The devm_ functions allocate memory that is released when a driver > detaches. This makes the code smaller and a bit simpler. > > Signed-off-by: Jingoo Han > - hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); > + hcd->regs = devm_ioremap(&dev-

Re: some question about xhci spec

2012-10-05 Thread Alan Stern
On Fri, 5 Oct 2012, loody wrote: > hi alan: > > 2012/10/4 Alan Stern : > > On Thu, 4 Oct 2012, loody wrote: > > > >> hi all: > >> in xhci spec rev1.0 05/21/10 section 6.2.3.4, there is a line said > >> "For SuperSpeed endpoints this field shall be set to the > >> value defined in the

Re: Mouse and keyboard freeze on Ivy Bridge platform

2012-10-05 Thread Alan Stern
On Thu, 4 Oct 2012, Sébastien Dinot wrote: > Alan Stern a écrit : > > The log file shows lots and lots of low-level communication errors. > > They could be caused by bad cabling or by bad USB hardware in your > > computer. It's unlikely that they were caused by the mouse or > > keyboard, because t

[PATCH 1/1] musb : Fix section mismatch with musb_init_controller

2012-10-05 Thread Philippe De Swert
Kernel reports a section mismatch when compiling in musb drivers. This patch fixes that. Signed-off-by: Philippe De Swert --- drivers/usb/musb/musb_dma.h |2 +- drivers/usb/musb/musbhsdma.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_dma.h

[PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-05 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 72 + 1 file changed, 72 insertions(+) diff --gi

[PATCH 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-05 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28 1 file changed, 28

[PATCH 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-05 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by: Kish

[PATCH 0/3] ocp2scp: add non-dt support

2012-10-05 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for non-d

Re: [PATCH 14/24] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-05 Thread Nicolas Ferre
On 10/04/2012 05:17 PM, Florian Fainelli : > Merge ohci_finish_controller_resume with ohci_resume as suggested by Alan > Stern. Since ohci_finish_controller_resume no longer exists, update the > various OHCI drivers to call ohci_resume() instead. Some drivers used to set > themselves the bit HCD_FL

[PATCH] USB: ohci-s3c2410: use devm_ functions

2012-10-05 Thread Jingoo Han
The devm_ functions allocate memory that is released when a driver detaches. This makes the code smaller and a bit simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-s3c2410.c | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ohci-s

Re: some question about xhci ep0 setting

2012-10-05 Thread loody
hi Sarah: 2012/10/5 Sarah Sharp : > On Thu, Oct 04, 2012 at 01:47:44PM +0800, loody wrote: >> Hi all: >> from below out put slot context it shows ep0 consumer cycle bit is 1 >> but why when we enqueue control transfer we purposely leave setup >> status cycle bit as 0. >> (below I purpose dump cont