Re: [PATCH][RESEND] usb: gadget: composite: Provide a list of available functions

2014-07-10 Thread Andrzej Pietrasiewicz
Hello All, Uhm, errr please disregard this patch as well. I still get it wrong. W dniu 09.07.2014 14:15, Andrzej Pietrasiewicz pisze: When gadgets are composed with configfs the user must know what are the available function names. The names are parts of usb_f_*.ko modules' aliases. If a

Re: [PATCH] usb: usb5303: make use of uninitialized err variable

2014-07-10 Thread Geert Uytterhoeven
Hi Greg, On Thu, Jul 10, 2014 at 12:46 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Jun 02, 2014 at 07:45:25PM +0200, Emil Goode wrote: The variable err is not initialized here, this patch uses it to store an eventual error value from devm_clk_get(). Signed-off-by: Emil

Re: [PATCH] usbnet: smsc95xx: add reset_resume function with reset operation

2014-07-10 Thread David Miller
From: Joonyoung Shim jy0922.s...@samsung.com Date: Thu, 10 Jul 2014 11:49:42 +0900 The smsc95xx needs to resume with reset operation. Otherwise it causes system hang by network error like below after resume. This case appears on odroid u3 board. [9.727600] smsc95xx 1-2:1.0 eth0: kevent

Re: [PATCH net-next v2] r8152: support jumbo frame for RTL8153

2014-07-10 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Thu, 10 Jul 2014 10:58:54 +0800 The maximum jumbo frame size for RTL8153 is 9K bytes. Change the max rx packet size to 9K. Change the use of the shared fifo from 6K (default) to 12K for tx. Signed-off-by: Hayes Wang hayesw...@realtek.com

[PATCH v2 0/2] ARM: shmobile: lager: USBHS callback elimination

2014-07-10 Thread Ulrich Hecht
Changes in v2: - move phy handle to struct usbhs_priv - add new default pipe type to driver - remove pipe type from Lager board code Ulrich Hecht (2): usb: renesas_usbhs: add R-Car Gen. 2 init and power control ARM: shmobile: lager: remove USBHS callbacks

[PATCH v2 1/2] usb: renesas_usbhs: add R-Car Gen. 2 init and power control

2014-07-10 Thread Ulrich Hecht
In preparation for DT conversion to reduce reliance on platform device callbacks. Signed-off-by: Ulrich Hecht ulrich.hecht+rene...@gmail.com --- drivers/usb/renesas_usbhs/Makefile | 2 +- drivers/usb/renesas_usbhs/common.c | 66 ++---

[PATCH v2 2/2] ARM: shmobile: lager: remove USBHS callbacks

2014-07-10 Thread Ulrich Hecht
Let the driver handle initialization and power control. Signed-off-by: Ulrich Hecht ulrich.hecht+rene...@gmail.com --- arch/arm/mach-shmobile/board-lager.c | 126 --- 1 file changed, 13 insertions(+), 113 deletions(-) diff --git

Re: [PATCH V4] USB: Add LVS Test device driver

2014-07-10 Thread Pratyush Anand
On Thu, Jul 10, 2014 at 06:40:43AM +0800, Greg KH wrote: On Thu, May 29, 2014 at 10:03:42AM +0530, Pratyush Anand wrote: OTG3 and EH Compliance Plan 1.0 talks about Super Speed OTG Verification system (SS-OVS) which consists of an excersizer and analyzer. USB Compliance Suite from Lecroy

Re: [PATCH v2 0/2] ARM: shmobile: lager: USBHS callback elimination

2014-07-10 Thread Kuninori Morimoto
Hi Changes in v2: - move phy handle to struct usbhs_priv - add new default pipe type to driver - remove pipe type from Lager board code Ulrich Hecht (2): usb: renesas_usbhs: add R-Car Gen. 2 init and power control ARM: shmobile: lager: remove USBHS callbacks

[PATCHv2] usb: gadget: composite: Provide a list of available functions

2014-07-10 Thread Andrzej Pietrasiewicz
When gadgets are composed with configfs the user must know what are the available function names. The names are parts of usb_f_*.ko modules' aliases. If a function is compiled as a module, the information can be found in modules.alias file. But if a function is compiled-in, there is no way to know

Re: [PATCH v1 6/9] usb: xhci: Add NVIDIA Tegra XHCI host-controller driver

2014-07-10 Thread Arnd Bergmann
On Wednesday 09 July 2014, Alan Stern wrote: On Tue, 8 Jul 2014, Andrew Bresticker wrote: I think at the very least you should add a function xhci_default_driver(struct hc_driver *driver) to xhci-plat.c (or even better to xhci.c and use it for PCI as well) that initializes all

Re: [PATCH] usb: usb5303: make use of uninitialized err variable

2014-07-10 Thread Emil Goode
Hello Greg and Geert, On Thu, Jul 10, 2014 at 09:38:00AM +0200, Geert Uytterhoeven wrote: Hi Greg, On Thu, Jul 10, 2014 at 12:46 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Jun 02, 2014 at 07:45:25PM +0200, Emil Goode wrote: The variable err is not initialized here,

xhci error: Transfer event TRB DMA ptr not part of current TD

2014-07-10 Thread Hans de Goede
Hi Sarah, Matthias, et al, I've been running a full Linux distro from an uas enclosure with a ssd for testing purposes (mostly for testing the distro on different hardware but also for uas testing). While testing this on a Thinkpad T440s I noticed the error from $subject happening exactly once

[PATCH] USB: serial: ftdi_sio: Add Infineon Triboard

2014-07-10 Thread Michal Sojka
This adds support for Infineon TriBoard TC1798 [1]. Only interface 1 is used as serial line (see [2], Figure 8-6). [1]

Re: [PATCH v2 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-07-10 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 08:53:32AM +0100, Lee Jones wrote: On Tue, 08 Jul 2014, Maxime Coquelin wrote: On 07/05/2014 08:25 AM, Peter Griffin wrote: Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Maxime Coquelin maxime.coque...@st.com Maxime, Once Acked by Felipe, I

Re: [PATCHv2] usb: gadget: composite: Provide a list of available functions

2014-07-10 Thread Felipe Balbi
On Thu, Jul 10, 2014 at 12:30:59PM +0200, Andrzej Pietrasiewicz wrote: When gadgets are composed with configfs the user must know what are the available function names. The names are parts of usb_f_*.ko modules' aliases. If a function is compiled as a module, the information can be found in

Re: [PATCH 1/4] usb: move the OTG state from the USB PHY to the OTG structure

2014-07-10 Thread Felipe Balbi
On Wed, Jul 09, 2014 at 12:17:13PM +0200, Antoine Ténart wrote: Before using the PHY framework instead of the USB PHY one, we need to move the OTG state into another place, since it won't be available when USB PHY isn't used. This patch moves the OTG state into the OTG structure, and makes all

Re: [PATCH v2 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-07-10 Thread Lee Jones
On Thu, 10 Jul 2014, Felipe Balbi wrote: On Tue, Jul 08, 2014 at 08:53:32AM +0100, Lee Jones wrote: On Tue, 08 Jul 2014, Maxime Coquelin wrote: On 07/05/2014 08:25 AM, Peter Griffin wrote: Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Maxime Coquelin

Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-10 Thread Felipe Balbi
On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote: This patch adds the support to the PHY framework for ChipIdea drivers while keeping the USB PHY compatibility. Changes are done in both the ChipIdea common code and in the drivers accessing the PHY. This is done by renaming 'phy'

Re: [PATCH 2/4] usb: add support to the PHY framework for OTG

2014-07-10 Thread Felipe Balbi
Hi, On Wed, Jul 09, 2014 at 12:17:14PM +0200, Antoine Ténart wrote: This patch adds the support to PHY framework in OTG code, and keeps the USB PHY compatibility. This is done in two steps: renaming 'phy' into 'usb_phy' and adding a new 'phy' member into the usb_otg structure. These

Re: [PATCH 1/4] usb: move the OTG state from the USB PHY to the OTG structure

2014-07-10 Thread Antoine Ténart
Hi Felipe, On Thu, Jul 10, 2014 at 08:40:23AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:13PM +0200, Antoine Ténart wrote: Before using the PHY framework instead of the USB PHY one, we need to move the OTG state into another place, since it won't be available when USB PHY

Re: [PATCH v2 4/4] USB: PHY: tegra: Call tegra_usb_phy_close only on device removal

2014-07-10 Thread Felipe Balbi
Hi, On Fri, Jul 04, 2014 at 04:09:39AM +0300, Tuomas Tynkkynen wrote: tegra_usb_phy_close() is supposed to undo the effects of tegra_usb_phy_init(). It is also currently added as the USB PHY shutdown callback, which is wrong, since tegra_usb_phy_init() is only called you could just make

Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-10 Thread Antoine Ténart
On Thu, Jul 10, 2014 at 08:42:27AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote: This patch adds the support to the PHY framework for ChipIdea drivers while keeping the USB PHY compatibility. Changes are done in both the ChipIdea common code and

Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-10 Thread Felipe Balbi
On Thu, Jul 10, 2014 at 03:51:24PM +0200, Antoine Ténart wrote: On Thu, Jul 10, 2014 at 08:42:27AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote: This patch adds the support to the PHY framework for ChipIdea drivers while keeping the USB PHY

Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-10 Thread Antoine Ténart
On Thu, Jul 10, 2014 at 08:56:00AM -0500, Felipe Balbi wrote: On Thu, Jul 10, 2014 at 03:51:24PM +0200, Antoine Ténart wrote: On Thu, Jul 10, 2014 at 08:42:27AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote: This patch adds the support to the

Re: [PATCH v2 4/4] USB: PHY: tegra: Call tegra_usb_phy_close only on device removal

2014-07-10 Thread Tuomas Tynkkynen
On 10/07/14 16:48, Felipe Balbi wrote: * PGP Signed by an unknown key Hi, On Fri, Jul 04, 2014 at 04:09:39AM +0300, Tuomas Tynkkynen wrote: tegra_usb_phy_close() is supposed to undo the effects of tegra_usb_phy_init(). It is also currently added as the USB PHY shutdown callback, which is

RE: [PATCHv2] usb: gadget: composite: Provide a list of available functions

2014-07-10 Thread Krzysztof Opasiak
-Original Message- From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- ow...@vger.kernel.org] On Behalf Of Felipe Balbi Sent: Thursday, July 10, 2014 3:39 PM To: Andrzej Pietrasiewicz Cc: linux-usb@vger.kernel.org; Felipe Balbi; Greg Kroah-Hartman; Sebastian Andrzej Siewior;

Re: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

2014-07-10 Thread Olivier Sobrie
Hi David, On Tue, Jul 08, 2014 at 04:16:33PM -0700, David Miller wrote: From: Olivier Sobrie oliv...@sobrie.be Date: Mon, 7 Jul 2014 11:06:07 +0200 When the module sends bursts of data, sometimes a deadlock happens in the hso driver when the tty buffer doesn't get the chance to be

RE: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

2014-07-10 Thread David Laight
From: Olivier Sobrie ... The function put_rxbuf_data() is called from the urb completion handler. It puts the data of the urb transfer in the tty buffer with tty_insert_flip_string_flags() and schedules a work queue in order to push the data to the ldisc. Problem is that we are in a urb

gadget/net2272.c:2075: possible bad test ?

2014-07-10 Thread David Binderman
Hello there, [linux-3.16-rc4/drivers/usb/gadget/net2272.c:2075]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. if (!intcsr (1 NET2272_PCI_IRQ)) { Maybe the programmer intended if (!(intcsr (1 NET2272_PCI_IRQ))) { Regards David

host/ohci-tmio.c:104: possible novice coding error ?

2014-07-10 Thread David Binderman
Hello there, [linux-3.16-rc4/drivers/usb/host/ohci-tmio.c:104]: (warning) Redundant bitwise operation on 'pm' in 'switch' statement. 'break;' missing? switch (ohci-num_ports) { default: dev_err(dev-dev, Unsupported amount of ports: %d\n, ohci-num_ports); case 3:

Re: [PATCH v2 2/4] ARM: tegra: Add resets has-utmi-pad-registers flag to all USB PHYs

2014-07-10 Thread Tuomas Tynkkynen
Thierry, Since Stephen's on a vacation, I'd like to double-check with you that the DT changes looks good. Greg has applied these to the USB tree today. Thanks, Tuomas On 04/07/14 04:09, Tuomas Tynkkynen wrote: Add new properties to all of the Tegra PHYs that are now required according to

[PATCH 1/3] usb: host: st-hcd: Add USB HCD support for STi SoCs

2014-07-10 Thread Peter Griffin
This driver adds support for the USB HCD present in STi SoC's from STMicroelectronics. It has been tested on the stih416-b2020 board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- drivers/usb/host/Kconfig | 17 ++ drivers/usb/host/Makefile | 1 + drivers/usb/host/st-hcd.c | 471

[PATCH 2/3] usb: host: st-hcd: Add st-hcd devicetree bindings documentation.

2014-07-10 Thread Peter Griffin
This patch documents the device tree documentation required for the ST HCD controller found in STMicroelectronics SoCs. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/usb/st-hcd.txt | 51 1 file changed, 51 insertions(+)

[PATCH 3/3] MAINTAINERS: Add st-hcd to ARCH/STI architecture

2014-07-10 Thread Peter Griffin
Signed-off-by: Peter Griffin peter.grif...@linaro.org --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 702ca10..359a64e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1325,6 +1325,7 @@ F:drivers/pinctrl/pinctrl-st.c F:

[PATCH 0/3] Add USB HCD support for STi SoCs

2014-07-10 Thread Peter Griffin
This driver adds support for the USB HCD controller present in STi SoC's from STMicroelectronics. It has been tested on the stih416-b2020 board. The original author is no longer with the company and therefore emails to his address bounce, thus I have not added him to CC. Peter Griffin (3):

Re: [PATCH v2 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-07-10 Thread Peter Griffin
Hi Felipe, Maxime, Once Acked by Felipe, I think this should go in via your tree to avoid conflicts with other ARM/STI ARCHITECTURE additions. there are still many unresolved comments on patches 1 and 2. Yes, sorry I've been a bit busy this week on other activities to send a V3. I

Re: host/ohci-tmio.c:104: possible novice coding error ?

2014-07-10 Thread Alan Stern
On Thu, 10 Jul 2014, David Binderman wrote: Hello there, [linux-3.16-rc4/drivers/usb/host/ohci-tmio.c:104]: (warning) Redundant bitwise operation on 'pm' in 'switch' statement. 'break;' missing? switch (ohci-num_ports) { default: dev_err(dev-dev, Unsupported

RE: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

2014-07-10 Thread David Laight
From: One Thousand Gnomes On Thu, 10 Jul 2014 14:37:37 + David Laight david.lai...@aculab.com wrote: From: Olivier Sobrie ... The function put_rxbuf_data() is called from the urb completion handler. It puts the data of the urb transfer in the tty buffer with

Re: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

2014-07-10 Thread One Thousand Gnomes
On Thu, 10 Jul 2014 14:37:37 + David Laight david.lai...@aculab.com wrote: From: Olivier Sobrie ... The function put_rxbuf_data() is called from the urb completion handler. It puts the data of the urb transfer in the tty buffer with tty_insert_flip_string_flags() and schedules a work

[PATCH v4] u_ether: move hardware transmit to RX NAPI

2014-07-10 Thread Weinn Jheng
In order to reduce the interrupt times in the embedded system, a receiving workqueue is introduced. This modification also enhanced the overall throughput as the benefits of reducing interrupt occurrence. This work was derived from previous work: u_ether: move hardware transmit to RX workqueue.

Re: [PATCH 1/3] usb: host: st-hcd: Add USB HCD support for STi SoCs

2014-07-10 Thread Alan Stern
On Thu, 10 Jul 2014, Peter Griffin wrote: This driver adds support for the USB HCD present in STi SoC's from STMicroelectronics. It has been tested on the stih416-b2020 board. This driver file, along with the Kconfig changes, belongs in the arch/platform-specific source directory. Not in

Re: [PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-07-10 Thread Julius Werner
diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index af89a90..bafba71 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -15,19 +15,19 @@ fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o xhci-hcd-y := xhci.o xhci-mem.o xhci-hcd-y += xhci-ring.o xhci-hub.o

Greetings To You,

2014-07-10 Thread Mr Cole Davidson
Greetings To You, Hello dear, I wish to approach you with a request that would be of immense benefit to both of us.I came across your email and I picked interest to contact you, please can we be friends? or partnership with me in some business investment, Maybe you can assist. There is a purpose

Re: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

2014-07-10 Thread One Thousand Gnomes
You really want to apply flow control back over the 'serial' link. That may just cause data discards earlier on the local system. But it is possible that not resubmitting the receive urb will cause the modem to flow control back to the sender. In which case there is some chance that data

Re: host/ohci-tmio.c:104: possible novice coding error ?

2014-07-10 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jul 10, 2014 at 7:53 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 10 Jul 2014, David Binderman wrote: Hello there, [linux-3.16-rc4/drivers/usb/host/ohci-tmio.c:104]: (warning) Redundant bitwise operation on 'pm' in 'switch' statement. 'break;' missing?

Re: [PATCH v2 0/2] ARM: shmobile: lager: USBHS callback elimination

2014-07-10 Thread Yoshihiro Shimoda
Hi Ulrich, (2014/07/10 16:53), Ulrich Hecht wrote: Changes in v2: - move phy handle to struct usbhs_priv - add new default pipe type to driver - remove pipe type from Lager board code Ulrich Hecht (2): usb: renesas_usbhs: add R-Car Gen. 2 init and power control ARM: shmobile: lager:

Re: [PATCH v2 2/4] usb: host: xhci-plat: Get PHYs for xhci's hcds

2014-07-10 Thread Vivek Gautam
Hi Julius, On Wed, Jul 9, 2014 at 11:26 PM, Julius Werner jwer...@chromium.org wrote: On Wed, Jul 9, 2014 at 3:01 AM, Vivek Gautam gautam.vi...@samsung.com wrote: The host controller by itself may sometimes need to handle PHY and/or calibrate some of the PHY settings to get full support out

Re: [PATCH v2 3/4] usb: host: xhci-plat: Caibrate PHY post host reset

2014-07-10 Thread Vivek Gautam
On Wed, Jul 9, 2014 at 11:28 PM, Julius Werner jwer...@chromium.org wrote: On Wed, Jul 9, 2014 at 3:01 AM, Vivek Gautam gautam.vi...@samsung.com wrote: Some quirky PHYs may require to be calibrated post the host controller initialization. The USB 3.0 DRD PHY on Exynos5420/5800 systems, coming

[no subject]

2014-07-10 Thread WESTERN UNION
-- Attention Customer, $200,000,00 USD was won by your email from the Western Union.Please contact Mr Morris Smith so that your fund will be remitted to you through Western Union Transfer Regard Mr Morris Smith +2348117653376 -- To unsubscribe from this list: send the line unsubscribe linux-usb