[PATCH 00/12] chipidea/imx: add otg support and some bug fix

2012-07-12 Thread Richard Zhao
The patch set is tested on imx6q_sabrelite board. The patch can also be found at https://github.com/riczhao/kernel-imx/commits/topics/usb-driver For test which merged platform patches: https://github.com/riczhao/kernel-imx/commits/topics/usb-test It's better apply after patch I sent out: usb: ch

[PATCH 01/12] USB: chipidea: imx: add pinctrl support

2012-07-12 Thread Richard Zhao
Some controllers may not need to setup pinctrl, so we don't fail the probe if pinctrl get/select failed. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/ci13xxx_imx.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci1

[PATCH 03/12] USB: chipidea: move OTGSC_IDIS clearing from ci_role_work to irq handler

2012-07-12 Thread Richard Zhao
OTGSC_IDIS must be cleared in irq handler to avoid re-queue the work. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/core.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 3c3ed77..19ef324 100644 --- a

[PATCH 04/12] USB: chipidea: clear gadget struct at udc_start fail path

2012-07-12 Thread Richard Zhao
States in gadget are not needed any more, set it to zero. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/udc.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 9029985..fd27f4d 100644 --- a/drivers/usb/chipidea/udc.c +++ b

[PATCH 05/12] USB: chipidea: don't let probe fail if otg controller start one role failed

2012-07-12 Thread Richard Zhao
One role failed, but the other role will possiblly still work. For example, when udc start failed, if plug in a host device, it works. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/core.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/co

[PATCH 06/12] USB: mxs-phy: add basic otg support

2012-07-12 Thread Richard Zhao
Signed-off-by: Richard Zhao --- drivers/usb/otg/mxs-phy.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c index c1a67cb..6a03e97 100644 --- a/drivers/usb/otg/mxs-phy.c +++ b/drivers/usb/otg/mxs-phy.c @@ -97,12 +97,

[PATCH 07/12] USB: chipidea: add vbus detect for udc

2012-07-12 Thread Richard Zhao
Using vbus valid interrupt to detect vbus. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/ci.h |1 + drivers/usb/chipidea/udc.c | 39 ++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipid

[PATCH 02/12] USB: chipidea: delay 2ms before read ID status at probe time

2012-07-12 Thread Richard Zhao
The ID pin needs 1ms debounce time, event at probe time. We delay 2ms for safe. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 1083585..3c3ed77 100644 --- a/drive

[PATCH 08/12] USB: chipidea: convert to use devm_request_irq

2012-07-12 Thread Richard Zhao
Signed-off-by: Richard Zhao --- drivers/usb/chipidea/core.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 8fd390a..7485c84 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -4

[PATCH 09/12] USB: chipidea: add -DDEBUG if CONFIG_USB_CHIPIDEA_DEBUG

2012-07-12 Thread Richard Zhao
Signed-off-by: Richard Zhao --- drivers/usb/chipidea/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile index 5c66d9c..3f56b76 100644 --- a/drivers/usb/chipidea/Makefile +++ b/drivers/usb/chipidea/Makefile @@ -1,3 +1,5 @

[PATCH 10/12] USB: chipidea: add set_vbus_power support

2012-07-12 Thread Richard Zhao
set_vbus_power is used to enable or disable vbus power for usb host. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/ci13xxx_imx.c | 39 +--- drivers/usb/chipidea/host.c|8 include/linux/usb/chipidea.h |2 ++ 3 files changed,

[PATCH 12/12] USB: chipidea: add imx usbmisc support

2012-07-12 Thread Richard Zhao
i.MX usb controllers shares non-core registers, which may include SoC specific controls. We take it as a usbmisc device and usbmisc driver export functions needed by ci13xxx_imx driver. For example, Sabrelite board has bad over-current design, we can usbmisc to disable over-current detect. Signed

[PATCH 11/12] USB: chipidea: re-order irq handling to avoid unhandled irq

2012-07-12 Thread Richard Zhao
- let role driver handle irq before ID change check. It give the role driver a chance to handle disconnect. - disable irq during switch role. No role driver to handle irq in the period. Signed-off-by: Richard Zhao --- drivers/usb/chipidea/core.c | 21 + 1 file changed,

Re: [PATCH 12/12] USB: chipidea: add imx usbmisc support

2012-07-12 Thread Richard Zhao
[snip] > --- /dev/null > +++ b/drivers/usb/chipidea/imx_usbmisc.c > @@ -0,0 +1,144 @@ > +/* > + * Copyright 2012 Freescale Semiconductor, Inc. > + * > + * The code contained herein is licensed under the GNU General Public > + * License. You may obtain a copy of the GNU General Public License > + *

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-12 Thread Eric Ding
On 07/09/2012 10:17 PM, Alan Stern wrote: > On Sun, 8 Jul 2012, Jonathan Nieder wrote: > >> Eric Ding wrote: >> >>> So it looks like you'd have to both look for USB_CLASS_VIDEO and check >>> uvc_ids[] too... which becomes somewhat hairy, since I assume you don't >>> realy want usb_detect_quirks()

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-12 Thread Oleksij Rempel
Am 12.07.2012 10:05, schrieb Eric Ding: > On 07/09/2012 10:17 PM, Alan Stern wrote: >> On Sun, 8 Jul 2012, Jonathan Nieder wrote: >> >>> Eric Ding wrote: >>> So it looks like you'd have to both look for USB_CLASS_VIDEO and check uvc_ids[] too... which becomes somewhat hairy, since I assum

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-12 Thread Eric Ding
On 07/12/2012 04:21 PM, Oleksij Rempel wrote: >> On 07/09/2012 10:17 PM, Alan Stern wrote: >>> On Sun, 8 Jul 2012, Jonathan Nieder wrote: >>> Eric Ding wrote: > So it looks like you'd have to both look for USB_CLASS_VIDEO and check > uvc_ids[] too... which becomes somewhat hairy,

[PATCH] usb: host: tegra: pass correct pointer in ehci_setup()

2012-07-12 Thread Laxman Dewangan
The ehci_setup() require the pointer of usb_hcd. Passing the correct pointer in place of ehci_hcd pointer. This is side effetct of change: commit 1a49e2ac9651df7349867a5cf44e2c83de1046af Author: Alan Stern EHCI: centralize controller initialization Signed-off-by: Laxman Dewangan --- driv

RE: [PATCH v2 1/3] arm: omap: hwmod: add new memory resource for usb phy control

2012-07-12 Thread Santhapuri, Damodar
Hi, > > Hello. > > On 11-07-2012 14:29, Damodar Santhapuri wrote: > > > From: Ajay Kumar Gupta > > > Added usb_ctrl0 and usb_ctrl1 base address as new memory resources > > which will be used at am335x musb driver glue layer to turn on or > > off builin PHY untill we have a separate system con

Re: NULL pointer dereference in at91_udc on start of connection

2012-07-12 Thread Fabio Porcedda
> -Original Message- > From: Sebastian Andrzej Siewior [mailto:sebast...@breakpoint.cc] > Sent: terça-feira, 10 de Julho de 2012 16:37 > To: Mario Jorge Isidoro > Cc: Fabio Porcedda; Sebastian Andrzej Siewior; ba...@ti.com; > gre...@linuxfoundation.org; linux-usb@vger.kernel.org; Nicolas F

Re: [PATCH] usb: host: tegra: pass correct pointer in ehci_setup()

2012-07-12 Thread Venu Byravarasu
Acked-by: Venu Byravarasu Tested-by: Venu Byravarasu On Thursday 12 July 2012 02:06 PM, Laxman Dewangan wrote: The ehci_setup() require the pointer of usb_hcd. Passing the correct pointer in place of ehci_hcd pointer. This is side effetct of change: commit 1a49e2ac9651df7349867a5cf44e2c83de10

Re: infos about device ZTE MF821D 2G,3G,4G/LTE usb-modem/networkcard

2012-07-12 Thread Thomas Schäfer
Bjørn Mork wrote: > USB: option: add ZTE MF821D > net: qmi_wwan: add ZTE MF821D > > drivers/net/usb/qmi_wwan.c |9 + > drivers/usb/serial/option.c |2 ++ > 2 files changed, 11 insertions(+) They work well. Thanks o lot to all people involved, especially Bjørn! [ 1530.91713

[PATCH 09/11] usb: musb: dsps: remove explicit NOP device creation

2012-07-12 Thread Ajay Kumar Gupta
As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/musb_dsps.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/mus

[PATCH 08/11] arm/dts: am33xx: add dt data for usb nop phy

2012-07-12 Thread Ajay Kumar Gupta
AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/d

[PATCH 03/11] usb: musb: am335x: add support for dual instance

2012-07-12 Thread Ajay Kumar Gupta
AM335x and TI81xx platform has dual musb controller so updating the musb_dspc.c to support the same. Changes: - Moved otg_workaround timer to glue structure - Moved static local variable last_timer to glue structure - PHY on/off related cleanups Signed-off-by: Ajay Kumar G

[PATCH 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-12 Thread Ajay Kumar Gupta
Currently we have one single nop transceiver support as same is defined as a global variable in drivers/usb/otg/nop-usb-xceiv.c. This need to be changed to support multiple otg controller each using nop transceiver on a platform such as am335x. Signed-off-by: Ajay Kumar Gupta --- arch/arm/mach-o

[PATCH 05/11] usb: musb: dsps: add dt support

2012-07-12 Thread Ajay Kumar Gupta
Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt | 14 + drivers/usb/musb/musb_dsps.c | 62 +

[PATCH 01/11] usb: musb: add musb->id to identify core instance

2012-07-12 Thread Ajay Kumar Gupta
Added 'id' field within 'struct musb' which can be used to determine the current instance of musb controller. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/am35x.c |2 +- drivers/usb/musb/blackfin.c |2 +- drivers/usb/musb/da8xx.c |2 +- drivers/usb/musb/davinci.c |

[PATCH 00/11] usb: musb: adding multi instance support

2012-07-12 Thread Ajay Kumar Gupta
Hi, This series of patches adds, a) Multi instances support in musb driver b) DT support for musb_dsps glue layer c) DT support for NOP transceiver AM33xx and TI81xx has dual musb controller and has two usb PHY of same type. This patch series uses 'phandle' based API devm_usb_get_phy_by_phandle()

[PATCH 02/11] usb: musb: kill global and static for multi instance

2012-07-12 Thread Ajay Kumar Gupta
Moved global variable "musb_debugfs_root" and static variable "old_state" to 'struct musb' to help support multi instance of musb controller as present on AM335x platform. Also removed the global variable "orig_dma_mask" and filled the dev->dma_mask with parent device's dma_mask. Signed-off-by: A

[PATCH 07/11] usb: otg: nop: add dt support

2012-07-12 Thread Ajay Kumar Gupta
Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt |3 +++ drivers/usb/otg/nop-usb-xceiv.c| 1

[PATCH 10/11] usb: musb: dsps: get the PHY using phandle api

2012-07-12 Thread Ajay Kumar Gupta
AM33xx has two PHY of same type used by each musb controller so use phandle of phy nodes to get the phy pointer. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt |2 ++ drivers/usb/musb/musb_dsps.c |4 +++- 2 files changed, 5 in

[PATCH 11/11] arm/dts: am33xx: add phy phandle to usbss

2012-07-12 Thread Ajay Kumar Gupta
Added NOP PHY phandle to usbss device node as same will be used to get the phy from otg framework. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.

[PATCH 06/11] arm/dts: am33xx: Add dt data for usbss

2012-07-12 Thread Ajay Kumar Gupta
Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/a

[PATCH v3 3/3] usb: musb: dsps: enable phy control for am335x

2012-07-12 Thread Damodar Santhapuri
From: Ajay Kumar Gupta Enabled the phy control logic for am335x also based on usbss revision register. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Damodar Santhapuri --- arch/arm/plat-omap/include/plat/usb.h |1 + drivers/usb/musb/musb_dsps.c | 17 +++-- 2 files

[PATCH v3 2/3] usb: musb: dsps: add phy control logic to glue

2012-07-12 Thread Damodar Santhapuri
From: Ajay Kumar Gupta AM335x uses NOP transceiver driver and need to enable builtin PHY by writing into usb_ctrl register available in system control module register space. This is being added at musb glue driver layer untill a separate system control module driver is available. Signed-off-by:

[PATCH v3 1/3] arm: omap: hwmod: add new memory resource for usb phy control

2012-07-12 Thread Damodar Santhapuri
From: Ajay Kumar Gupta Added usb_ctrl0 and usb_ctrl1 base address as new memory resources which will be used at am335x musb driver glue layer to turn on or off builin PHY untill we have a separate system control module driver. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Damodar Santhapuri -

[PATCH] USB: option: add ZTE MF821D

2012-07-12 Thread Bjørn Mork
Sold by O2 (telefonica germany) under the name "LTE4G" Tested-by: Thomas Schäfer Signed-off-by: Bjørn Mork --- drivers/usb/serial/option.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 417ab1b..46cee56 100644 --- a/drive

Re: g_serial and cdc_acm communications

2012-07-12 Thread Dipen Patel
Hi Ron/Greg, I am facing similar issue with serial gadget configured on i.MX6Q Sabrelite board. In my case Host sends packets starting with 10 bytes to 2MB bytes in increments of 1 byte. And device simply loopback the same packet with status byte. However everything works fine until Tx (repl

[PATCH] net: qmi_wwan: add ZTE MF821D

2012-07-12 Thread Bjørn Mork
Sold by O2 (telefonica germany) under the name "LTE4G" Tested-by: Thomas Schäfer Signed-off-by: Bjørn Mork --- I've verified that this applies cleanly to both net and net-next. Please apply to the branch you find appropriate. Thanks, Bjørn drivers/net/usb/qmi_wwan.c |9 + 1 file

Re: [PATCH v4 2/4] usb gadget: Configure endpoint according to gadget speed.

2012-07-12 Thread Rajaram R
Hi On Thu, Nov 18, 2010 at 6:17 PM, Tatyana Brokhman wrote: > > Add config_ep_by_speed() to configure the endpoint according to the gadget > speed. Using this function will spare the FDs from handling the endpoint > chosen descriptor. > > Signed-off-by: Tatyana Brokhman > --- > drivers/usb/gad

Re: 3.4.4: disabling irq

2012-07-12 Thread Udo van den Heuvel
On 2012-07-11 17:15, Alan Stern wrote: > On Wed, 11 Jul 2012, Udo van den Heuvel wrote: > >> New occurrence: > >> Any clues and/or updates? > > Didn't you see the message I posted on Monday? > > http://marc.info/?l=linux-usb&m=134186054713868&w=2 Nothing changed except the kernel. Main c

Re: 3.4.4: disabling irq

2012-07-12 Thread Jan Ceuleers
On 07/12/2012 03:23 PM, Udo van den Heuvel wrote: > How to list what modules/programs are using that irq? cat /proc/interrupts -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.or

Re: 3.4.4: disabling irq

2012-07-12 Thread Udo van den Heuvel
On 2012-07-12 15:43, Jan Ceuleers wrote: > On 07/12/2012 03:23 PM, Udo van den Heuvel wrote: >> How to list what modules/programs are using that irq? > > cat /proc/interrupts # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 0: 40 0 0 0

Re: [PATCH] usb: host: tegra: pass correct pointer in ehci_setup()

2012-07-12 Thread Alan Stern
On Thu, 12 Jul 2012, Laxman Dewangan wrote: > The ehci_setup() require the pointer of usb_hcd. > Passing the correct pointer in place of ehci_hcd > pointer. > > This is side effetct of change: > commit 1a49e2ac9651df7349867a5cf44e2c83de1046af > Author: Alan Stern > > EHCI: centralize contro

[PATCH v.2] usb: host: tegra: pass correct pointer in ehci_setup()

2012-07-12 Thread Alan Stern
From: Laxman Dewangan The ehci_setup() require the pointer of usb_hcd. Passing the correct pointer in place of ehci_hcd pointer. This is side effect of change: commit 1a49e2ac9651df7349867a5cf44e2c83de1046af Author: Alan Stern EHCI: centralize controller initialization [Although I checked

Re: g_serial and cdc_acm communications

2012-07-12 Thread Dipen Patel
Hi, Resolved this by fixing a bug in device side transmit routine. Anyways thank you guys. This was the only post I found on net with exactly my problem. Regards, Dipen Patel -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel

Re: [PATCH v2] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-12 Thread Alan Stern
On Thu, 12 Jul 2012, Tomoya MORINAGA wrote: > Intel EG20T USB host controller does not send SOF in resuming time > after suspending, if the FLR bit was not cleared. When pen drive is > attached, the controller has a long resuming time to try re-connect > it. This patch clear the FLR bit in suspend

Re: g_serial and cdc_acm communications

2012-07-12 Thread Alan Stern
On Thu, 12 Jul 2012, Dipen Patel wrote: > > Hi Ron/Greg, > > I am facing similar issue with serial gadget configured on i.MX6Q > Sabrelite board. > > In my case Host sends packets starting with 10 bytes to 2MB bytes in > increments of 1 byte. And device simply loopback the same packet with >

Re: 3.4.4: disabling irq

2012-07-12 Thread Alan Stern
On Thu, 12 Jul 2012, Udo van den Heuvel wrote: > # cat /proc/interrupts >CPU0 CPU1 CPU2 CPU3 > 0: 40 0 0 0 IO-APIC-edge timer > 1: 1 4 91884418 IO-APIC-edge i8042 > 4: 1

Re: [patch -next] smsc95xx: signedness bug in get_regs()

2012-07-12 Thread David Miller
From: Dan Carpenter Date: Wed, 11 Jul 2012 09:32:51 +0300 > "retval" has to be a signed integer for the error handling to work. > > Signed-off-by: Dan Carpenter Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.or

Re: Issues with Nikon D800 cameras & USB3

2012-07-12 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2012 at 04:35:57PM +0100, Richard Adams wrote: > Hi, > > I've recently been doing some development work with the latest Linux Kernel > (3.4 & 3.5rc6) and I'm experiencing problems with USB3 on both. > > I've been in conversation with the developers at gphoto and they've > directed

Re: xhci_hcd: external drive not initialised if already connected during restart or cold boot

2012-07-12 Thread Matt Causey
On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote: > On 07/12/2012 10:53 AM, Matt Causey wrote: >> >> On Wed, Jul 11, 2012 at 11:03 AM, Matt Causey >> wrote: >>> >>> On Wed, Jul 11, 2012 at 10:12 AM, Matt Causey >>> wrote: On Tue, Jul 10, 2012 at 10:55 PM, Andiry Xu wrote: > > On

Re: usb sound issue ...

2012-07-12 Thread Dr. Ing. Dieter Jurzitza
Hi Andiry, hi Sarah, Andiry is right, the test patch was applied. Please advise what I can do on top of this ... Thank you for all your time and all your efforts, take care Dieter Jurzitza On Donnerstag, 12. Juli 2012 08:39:30 Andiry Xu wrote: > The dmesg is catched with test patch applied,

Re: g_serial and cdc_acm communications

2012-07-12 Thread Peter Chen
> Hi, > > Resolved this by fixing a bug in device side transmit routine. Anyways thank > you > guys. This was the only post I found on net with exactly my problem. > Do you mean BUGs at fsl_udc_core.c? Do you mind share of your finding? Thanks, Peter > Regards, > Dipen Patel > > -- > To unsubscr

Re: xhci_hcd: external drive not initialised if already connected during restart or cold boot

2012-07-12 Thread Matt Causey
On Thu, Jul 12, 2012 at 12:54 PM, Matt Causey wrote: > On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote: >> On 07/12/2012 10:53 AM, Matt Causey wrote: >>> >>> On Wed, Jul 11, 2012 at 11:03 AM, Matt Causey >>> wrote: On Wed, Jul 11, 2012 at 10:12 AM, Matt Causey wrote: > > O

[PATCH v3] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-12 Thread Tomoya MORINAGA
Intel EG20T USB host controller does not send SOF in resuming time after suspending, if the FLR bit was not cleared. When pen drive is attached, the controller has a long resuming time to try re-connect it. This patch clear the FLR bit in suspending time for fixing the issue. Signed-off-by: Tomoya

[PATCH -next] USB: ehci-omap: fix compile failure

2012-07-12 Thread Ming Lei
The omap_ehci_init() is introduced in the below commit: commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI: centralize controller initialization) the local variable of 'pdev' inside omap_ehci_init() is used but not defined, so fix the bug. Cc: Alan Stern Signed-off-by: Ming Le

Re: [PATCH -next] USB: ehci-omap: fix compile failure

2012-07-12 Thread Ming Lei
On Fri, Jul 13, 2012 at 11:54 AM, Ming Lei wrote: > The omap_ehci_init() is introduced in the below commit: > > commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI: > centralize controller initialization) > > the local variable of 'pdev' inside omap_ehci_init() is used > but not d

[PATCH net-next 7/8] usb: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches --- drivers/usb/atm/xusbatm.c|4 ++-- drivers/usb/gadget/u_ether.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/x

[PATCH net-next 0/8] etherdevice: Rename random_ether_addr to eth_random_addr

2012-07-12 Thread Joe Perches
net-next commit ad7eee98be ("etherdevice: introduce eth_broadcast_addr") added a new style API. Rename random_ether_addr to eth_random_addr to create some API symmetry. Joe Perches (8): etherdevice: Rename random_ether_addr to eth_random_addr ethernet: Use eth_random_addr net: usb: Use eth_

[PATCH net-next 3/8] net: usb: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches --- drivers/net/usb/smsc75xx.c |2 +- drivers/net/usb/smsc95xx.c |2 +- drivers/net/usb/usbnet.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/u

Re: [PATCH v.2] usb: host: tegra: pass correct pointer in ehci_setup()

2012-07-12 Thread Laxman Dewangan
On Thursday 12 July 2012 08:04 PM, Alan Stern wrote: From: Laxman Dewangan The ehci_setup() require the pointer of usb_hcd. Passing the correct pointer in place of ehci_hcd pointer. This is side effect of change: commit 1a49e2ac9651df7349867a5cf44e2c83de1046af Author: Alan Stern EHCI: cen

usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-12 Thread VIKAS SAJJAN C
Hi , I am working on 3.4 kernel , when i try to connect a USB 2.0 device on Super Speed HUB , i get following error. usb 3-1.1: Device not responding to set address. usb 3-1.1: device not accepting address 3, error -71 any inputs will be of great help. Thanks and Regards Vikas Sajjan