Re: usbnet: driver_info->stop required to stop USB interrupts?

2014-03-18 Thread Grant Grundler
On Tue, Mar 18, 2014 at 6:09 PM, Julius Werner wrote: > I think a better place for this would be in usbnet_probe() (together > with all the other dev->xxx initialization). Definitely better. @@ -1536,6 +1536,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb dev->driver_name

Re: usbnet: driver_info->stop required to stop USB interrupts?

2014-03-18 Thread Julius Werner
> I tried adding the following change on top of your patch but believe > the plumbing still isn't quite correct since the USB device (eth0) is > reporting a link but no TX or RX of traffic: > @@ -805,6 +807,9 @@ int usbnet_open (struct net_device *net) > goto done; > } > >

[PATCH v2 05/16] staging: wlags49_h2: Fix C99 style commenting

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: do not use C99 // comments Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 150 1 file changed, 75 insertions(+), 75 deletions(-) diff --git a/drivers/staging/wlags49_h2/wl_

[PATCH v2 15/16] staging: wlags49_h2: Fix multi-line commenting

2014-03-18 Thread Jelena Bjelja
Adjust multi-line comments to “net/” kernel coding style in wl_netdev.c. Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 351 ++-- 1 file changed, 203 insertions(+), 148 deletions(-) diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/dr

[PATCH v2 14/16] staging: wlags49_h2: Fix indentation for conditional statement

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: WARNING: suspect code indent for conditional statements Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/

[PATCH v2 16/16] staging: wlags49_h2: Fix lines over 80 characters

2014-03-18 Thread Jelena Bjelja
Where possible, fix lines that exceed 80 characters in wl_netdev.c WARNING: line over 80 characters Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 62 +++- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/drivers/staging/wla

[PATCH v2 13/16] staging: wlags49_h2: Remove space between function name and open parenthesis

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issue in wl_netdev.c: WARNING: space prohibited between function name and open parenthesis Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlags49_h2/wl_

[PATCH v2 12/16] staging: wlags49_h2: Do not use assignment in if condition

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issue in wl_netdev.c: ERROR: do not use assignment in if condition Signed-off-by: Jelena Bjelja --- Changes in v2: Delete unnecessary line added in a previous version, noted by Julia Lawall drivers/staging/wlags49_h2/wl_netdev.c |3 ++- 1 fil

[PATCH v2 10/16] staging: wlags49_h2: Fix pointer declaration

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issue in wl_netdev.c: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/w

[PATCH v2 11/16] staging: wlags49_h2: Add space around '='

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issue in wl_netdev.c: ERROR: spaces required around that '=' Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wl

[PATCH v2 09/16] staging: wlags49_h2: Fix 'else should follow close brace'

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: else should follow close brace '}' Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drive

[PATCH v2 08/16] staging: wlags49_h2: Move open brace to a previous line

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: that open brace { should be on the previous line Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/staging/wlag

[PATCH v2 06/16] staging: wlags49_h2: Enclose macro in a do-while loop

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: Macros with multiple statements should be enclosed in a do - while loop Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/sta

[PATCH v2 07/16] staging: wlags49_h2: Remove unnecessary braces

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 35 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/

[PATCH v2 04/16] staging: wlags49_h2: Add space before parenthesis

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: space required before the open parenthesis '(' Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 170 1 file changed, 85 insertions(+), 85 deletions(-) diff --git a/drivers/st

[PATCH v2 02/16] staging: wlags49_h2: Delete space after open parenthesis

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 628 1 file changed, 314 insertions(+), 314 deletions(-) diff --git a/driver

[PATCH v2 03/16] staging: wlags49_h2: Delete space before close parenthesis

2014-03-18 Thread Jelena Bjelja
Fix the following checkpatch.pl issues in wl_netdev.c: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Jelena Bjelja --- drivers/staging/wlags49_h2/wl_netdev.c | 628 1 file changed, 314 insertions(+), 314 deletions(-) diff --git a/driv

[PATCH v2 00/16] staging: wlags49_h2: Fix checkpatch issues in wl_netdev.c

2014-03-18 Thread Jelena Bjelja
This patchset fixes most of the checkpatch.pl issues in wl_netdev.c Changes in v2: * Delete unnecessary line added in a previous version (v1) of the patch: staging: wlags49_h2: Do not use assignment in if condition noted by Julia Lawall * U

Re: usbnet: driver_info->stop required to stop USB interrupts?

2014-03-18 Thread Grant Grundler
On Tue, Mar 18, 2014 at 1:51 PM, Grant Grundler wrote: > On Mon, Mar 17, 2014 at 2:55 PM, Oliver Neukum wrote: >> I am hping for the reporter of the original bug to test it. > > Oliver, > on a haswell system running ChromeOS-3.8 kernel, this patch as-is > resulted in a "Bad Spinlock Magic" error

Re: usbnet: driver_info->stop required to stop USB interrupts?

2014-03-18 Thread Grant Grundler
On Mon, Mar 17, 2014 at 2:55 PM, Oliver Neukum wrote: > I am hping for the reporter of the original bug to test it. Oliver, on a haswell system running ChromeOS-3.8 kernel, this patch as-is resulted in a "Bad Spinlock Magic" error and subsequent pagefault. I believe the sequence was: usbnet_op

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-03-18 Thread Greg KH
On Tue, Mar 18, 2014 at 10:11:20PM +0200, Valentina Manea wrote: > After migrating userspace code to libudev, converting usbip-host > to a device driver and various bug fixes and enhancements, USB/IP > is fully functional and can be moved out of staging. > > This patch series moves it as following

[PATCH v3 2/6] libusbg: Add remove gadget/config strings functionality.

2014-03-18 Thread Krzysztof Opasiak
Add functions which allow to remove strings in gadget and configuration. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 16 +++ src/usbg.c | 56 +++ 2 files changed, 72 insertions(+) diff --git a/include/usbg/u

[PATCH v3 4/6] libusbg: Add remove function functionality.

2014-03-18 Thread Krzysztof Opasiak
Add function which allow to remove USB function. This functions also remove function from internal library structures what means that after this operation all pointers to removed function are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 10 ++ src/usbg.c

[PATCH v3 6/6] libusbg: Update examples to new API functionality.

2014-03-18 Thread Krzysztof Opasiak
Removing gadget/config/function/binding functionality has been added to API so add example of how to use it. Signed-off-by: Krzysztof Opasiak --- examples/Makefile.am |3 +- examples/gadget-vid-pid-remove.c | 113 ++ include/usbg/usbg.h

[PATCH v3 3/6] libusbg: Add remove configuration functionality.

2014-03-18 Thread Krzysztof Opasiak
Add function which allow to remove configuration. This functions also remove binding from internal library structures what means that after this operation all pointers to removed config are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 10 src/usbg.c |

[PATCH v3 5/6] libusbg: Add remove gadget functionality.

2014-03-18 Thread Krzysztof Opasiak
Add function which allow to remove USB gadget. This functions also remove gadget from internal library structures what means that after this operation all pointers to removed gadget are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 10 ++ src/usbg.c | 5

[PATCH v3 1/6] libusbg: Add remove binding functionality.

2014-03-18 Thread Krzysztof Opasiak
Add function which allow to remove binding between function and configuration. This functions also remove binding from internal library structures wht means that after this operation all pointers to removed binding are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 10

[PATCH v3 0/6] libusbg: Add remove gadget/config/func/binding functionality.

2014-03-18 Thread Krzysztof Opasiak
Dear Matt, In this series of patch I have added remove gadget, config, function, binding functionality which was missing since introduction of library. I have also added remove strings functionality which allow to remove gadget and configuration strings in given language. To show how to use new

[PATCH v2 1/7] libusbg: Fix wrong target size.

2014-03-18 Thread Krzysztof Opasiak
Variable target is a place for path to USB function so it should have size USBG_MAX_PATH_LENGTH not USBG_MAX_STR_LENGTH size. Signed-off-by: Krzysztof Opasiak --- src/usbg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usbg.c b/src/usbg.c index f655675..33dbd92 1006

[PATCH v2 2/7] libusbg: Remove fixed-size buffer from usbg_state.

2014-03-18 Thread Krzysztof Opasiak
Path length should not be placed in constant size buffer but in allocated memory. Signed-off-by: Krzysztof Opasiak --- configure.ac |1 + src/usbg.c | 16 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 45449e2..878c2ab 1

[PATCH v2 3/7] libusbg: Remove fixed-size buffers from usbg_gadget.

2014-03-18 Thread Krzysztof Opasiak
Path and name length should not be placed in constant size buffer but in allocated memory. Signed-off-by: Krzysztof Opasiak --- src/usbg.c | 61 1 file changed, 37 insertions(+), 24 deletions(-) diff --git a/src/usbg.c b/src/usbg.c

[PATCH v2 4/7] libusbg: Remove fixed-size buffers from usbg_config.

2014-03-18 Thread Krzysztof Opasiak
Path and name length should not be placed in constant size buffer but in allocated memory. Use PATH_MAX macro from limits.h as default size for USBG_MAX_PATH_LENGTH. Handle overflows of snprintf in related funcitons. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h |4 ++- src/usbg

[PATCH v2 7/7] libusbg: Replace sprintf with snprintf.

2014-03-18 Thread Krzysztof Opasiak
Usage of sprintf() may be dangerous in some cases so use snprintf() to avoid writing after allocated memory. Signed-off-by: Krzysztof Opasiak --- src/usbg.c | 177 +++- 1 file changed, 115 insertions(+), 62 deletions(-) diff --git a/src/u

[PATCH v2 5/7] libusbg: Remove fixed-size buffers from usbg_function.

2014-03-18 Thread Krzysztof Opasiak
Path and name length should not be placed in constant size buffer but in allocated memory. Handle overflows of snprintf in related funcitons. Signed-off-by: Krzysztof Opasiak --- src/usbg.c | 90 1 file changed, 66 insertions(+), 24

[PATCH v2 6/7] libusbg: Remove fixed-size buffers from usbg_binding.

2014-03-18 Thread Krzysztof Opasiak
Path and name length should not be placed in constant size buffer but in allocated memory. Handle overflows of snprintf in related funcitons. Signed-off-by: Krzysztof Opasiak --- src/usbg.c | 169 1 file changed, 114 insertions(+), 5

[PATCH v2 0/7] Remove fixed size buffers from library structures.

2014-03-18 Thread Krzysztof Opasiak
Dear Matt, due to recent discussion at linux-usb mailing list [1] about usage of sprintf in libusbg I took up the task to fix this issue. I have removed fixed size tabs in library structures reserved for name and path and replaced the with dynamically alocated strings. I have also replaced sprin

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-03-18 Thread Joe Perches
On Tue, 2014-03-18 at 22:11 +0200, Valentina Manea wrote: > After migrating userspace code to libudev, converting usbip-host > to a device driver and various bug fixes and enhancements, USB/IP > is fully functional and can be moved out of staging. > > This patch series moves it as following: > * u

[PATCH 0/3] usbip: move usbip out of staging

2014-03-18 Thread Valentina Manea
After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to tools/usb/usbip * kernel code to drivers/usb/usbip B

[PATCH 3/3] usbip: remove struct usb_device_id table

2014-03-18 Thread Valentina Manea
This was used back when usbip-host was an interface device driver; after the conversion to device driver, the table remained unused. Remove it in order to stop receiving a warning about it. Signed-off-by: Valentina Manea --- drivers/usb/usbip/stub_dev.c | 27 --- 1 file c

RE: [PATCH 3/6] libusbg: Remove fixed-size buffers from usbg_config.

2014-03-18 Thread Krzysztof Opasiak
Hi, > -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > Sent: Thursday, March 13, 2014 5:29 PM > To: Krzysztof Opasiak; mpor...@linaro.org; linux- > u...@vger.kernel.org > Cc: Andrzej Pietrasiewicz; Karol Lewandowski; Stanislaw Wadas; > ty317@samsung.com; Marek

Re: [PATCH net,stable] net: cdc_ncm: fix control message ordering

2014-03-18 Thread David Miller
From: Bjørn Mork Date: Mon, 17 Mar 2014 16:25:18 +0100 > This is a context modified revert of commit 6a9612e2cb22 > ("net: cdc_ncm: remove ncm_parm field") which introduced > a NCM specification violation, causing setup errors for > some devices. These errors resulted in the device and > host dis

Re: [PATCH v2] documentation: docbook: document process of writing an musb glue layer

2014-03-18 Thread Apelete Seketeli
Hello Rob, On Mon, Feb-17-2014 at 01:45:52 AM +0100, Apelete Seketeli wrote: > Document the process of writing an musb glue layer by taking the > Ingenic JZ4740 glue layer as an example, as it seems more simple than > most glue layers due to the basic feature set of the JZ4740 USB device > control

Re: [OPW kernel] [PATCH 00/16] Fix checkpatch issues in wl_netdev.c

2014-03-18 Thread Greg KH
On Mon, Mar 17, 2014 at 11:38:06PM +0100, Jelena Bjelja wrote: > This patchset resolves most of checkpatch.pl issues in > wlags49_h2/wl_netdev.c > > Jelena Bjelja (16): > staging: wlags49_h2: Use tabs for indentation > staging: wlags49_h2: Delete space after open parenthesis > staging: wlags

Re: [PATCH] USB: disable reset-resume when USB_QUIRK_RESET is set

2014-03-18 Thread Hans de Goede
Hi, On 03/18/2014 03:39 PM, Alan Stern wrote: > The USB_QUIRK_RESET flag indicates that a USB device changes its > identity in some way when it is reset. It may lose its firmware, its > descriptors may change, or it may switch back to a default mode of > operation. > > If a device does this, the

Re: problem with resume after s2ram

2014-03-18 Thread Alan Stern
On Tue, 18 Mar 2014, Peter Münster wrote: > Hi, > > Commit 0aa2832dd0d9d8609fd8f15139bc7572541a1215 introduces a problem for > my system: You should include the name of the commit along with the hash ID; otherwise nobody will know what it is unless they go to the trouble of looking it up for t

Re: wifi driver or USB might leads suspend/resume failure on thinkpad X1 carbon

2014-03-18 Thread Shuduo Sang
On Mon, Mar 10, 2014 at 9:52 PM, Emmanuel Grumbach wrote: > On Mon, Mar 10, 2014 at 3:20 PM, Shuduo Sang wrote: >> On Mon, Mar 10, 2014 at 6:50 PM, Emmanuel Grumbach >> wrote: >>> Hi, >>> >>> On Mon, Mar 10, 2014 at 7:05 AM, Shuduo Sang >>> wrote: Hi, >>>

Re: [PATCH 2/2] extcon: Move OF helper function to extcon core and change function name

2014-03-18 Thread Felipe Balbi
Hi, On Tue, Mar 18, 2014 at 09:04:40PM +0900, Chanwoo Choi wrote: > This patch move simply OF helper function to extcon core and change function > name as following: > - of_extcon_get_extcon_dev() -> extcon_get_edev_by_phandle() > > Signed-off-by: Chanwoo Choi > --- > drivers/extcon/Kconfig

Re: [xhci_hcd] reset SuperSpeed, xhci_drop_endpoint called with disabled ep, Error in queuecommand_lck: task blocked

2014-03-18 Thread Alan Stern
On Tue, 18 Mar 2014, Andreas Reis wrote: > [9732.160783] usb-storage 2-1:1.0: Abort srbs: 8804255c1980 > 8804255c1980 > [9732.160791] usb-storage 2-1:1.0: Calling stop_transport > [9732.160836] usb-storage 2-1:1.0: Starting port reset > [9732.267771] usb 2-1: reset SuperSpeed USB device n

Re: [PATCH v3 5/8] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-03-18 Thread Roger Quadros
Hi Tony, On 03/13/2014 11:44 PM, Paul Walmsley wrote: > On Wed, 12 Mar 2014, Tony Lindgren wrote: > >> * Roger Quadros [140307 02:18]: >>> From: Keshava Munegowda >>> >>> Create hwmods for ocp2scp3 and sata modules. >> >> Paul, does this look OK to you? > > I didn't go over every entry with a

[PATCH] USB: disable reset-resume when USB_QUIRK_RESET is set

2014-03-18 Thread Alan Stern
The USB_QUIRK_RESET flag indicates that a USB device changes its identity in some way when it is reset. It may lose its firmware, its descriptors may change, or it may switch back to a default mode of operation. If a device does this, the kernel needs to avoid resetting it. Resets are likely to

[PATCH 1/2] extcon: of: Remove unnecessary function call by using the name of device_node

2014-03-18 Thread Chanwoo Choi
This patch remove unnecessary function call in of_extcon_get_extcon_dev() by using the name of device_node structure. Signed-off-by: Chanwoo Choi --- drivers/extcon/of_extcon.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/extcon/of_extcon.c b/drivers/

[PATCH 2/2] extcon: Move OF helper function to extcon core and change function name

2014-03-18 Thread Chanwoo Choi
This patch move simply OF helper function to extcon core and change function name as following: - of_extcon_get_extcon_dev() -> extcon_get_edev_by_phandle() Signed-off-by: Chanwoo Choi --- drivers/extcon/Kconfig | 4 --- drivers/extcon/Makefile | 2 -- drivers/extcon/extcon-

[PATCH 0/2] extcon: of: Update OF helper function

2014-03-18 Thread Chanwoo Choi
Thisp patchset remove unnecessary function call in of_extcon_get_extcon_dev() which get the extcon device from devicetree. Also, this patchset move OF helper func to extcon core and change function name as following: - of_extcon_get_extcon_dev() -> extcon_get_edev_by_phandle() Chanwoo Choi (2):

problem with resume after s2ram

2014-03-18 Thread Peter Münster
Hi, Commit 0aa2832dd0d9d8609fd8f15139bc7572541a1215 introduces a problem for my system: When it wakes up after s2ram, it freezes. Screen is black, keyboard does not work, no ssh-connection. Just the network-ping works. Please see here for more details, especially information about the hardware: h

Re: [PATCH net,stable] net: cdc_ncm: fix control message ordering

2014-03-18 Thread Thomas Schäfer
Am Montag, 17. März 2014, 16:25:18 schrieben Sie: > This is a context modified revert of commit 6a9612e2cb22 > ("net: cdc_ncm: remove ncm_parm field") which introduced > a NCM specification violation, causing setup errors for > some devices. These errors resulted in the device and > host disagreein

Re: usbnet OOM handling - possible CPU starvation?

2014-03-18 Thread Oliver Neukum
On Tue, 2014-03-18 at 10:29 +, David Laight wrote: > From: Bjørn Mork Hi, > > To recall: The NCM and MBIM protocols aggregate packets before > > transission over the USB link, requiring USB buffers with multiple > > ethernet/IP packets. Common code used by both cdc_mbim and cdc_ncm > > curre

RE: usbnet OOM handling - possible CPU starvation?

2014-03-18 Thread David Laight
From: Bjørn Mork > Hello Oliver & other clueful gurus! > > I started looking at how to improve the OOM handling in usbnet, but have > to admit that this is way over my head. I don't think I dare touching > it... > > I've seen a few reports clearly showing that we do have a problem. One > example

Re: medtronic usb productId 0x8001: usbserial support, xhci enumeration

2014-03-18 Thread Johan Hovold
On Tue, Mar 18, 2014 at 09:10:10AM +0100, Johan Hovold wrote: > On Mon, Mar 17, 2014 at 11:58:57PM -0700, Benjamin West wrote: > > On Mon, Mar 17, 2014 at 11:40 AM, Johan Hovold wrote: > > >> issues. It's included below > > >> https://gist.github.com/bewest/6488955#file-lsusb > > > > > I'm respo

usbnet OOM handling - possible CPU starvation?

2014-03-18 Thread Bjørn Mork
Hello Oliver & other clueful gurus! I started looking at how to improve the OOM handling in usbnet, but have to admit that this is way over my head. I don't think I dare touching it... I've seen a few reports clearly showing that we do have a problem. One example is here: http://forums.whirlpool

Re: [PATCH v3 1/2] USB: cdc: add MBIM extended functional descriptor structure

2014-03-18 Thread Bjørn Mork
Ben Chan writes: > This patch adds the MBIM extended functional descriptor structure > defined in "Universal Serial Bus Communications Class Subclass > Specification for Mobile Broadband Interface Model, Revision 1.0, > Errata-1" published by USB-IF. > > Signed-off-by: Ben Chan > --- > No change

Re: [PATCH v3 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-18 Thread Bjørn Mork
Ben Chan writes: > According to "Universal Serial Bus Communications Class Subclass > Specification for Mobile Broadband Interface Model, Revision 1.0, > Errata-1" published by USB-IF, the wMTU field of the MBIM extended > functional descriptor indicates the operator preferred MTU for IP data > s

Re: medtronic usb productId 0x8001: usbserial support, xhci enumeration

2014-03-18 Thread Johan Hovold
On Mon, Mar 17, 2014 at 11:58:57PM -0700, Benjamin West wrote: > On Mon, Mar 17, 2014 at 11:40 AM, Johan Hovold wrote: > >> issues. It's included below > >> https://gist.github.com/bewest/6488955#file-lsusb > > > I'm responding to this mail with a patch for you to test. The patch is > > also ava

Re: [PATCH v4 0/3] usb: chipidea: misc update for register operations

2014-03-18 Thread Peter Chen
On Tue, Mar 18, 2014 at 12:59:05PM +0800, Li Jun wrote: > From: Li Jun > > This patchset has some improvements for interfaces of read and write some > controller registers. > > Change for v4: > Use one write for BSV irq status clear and enable in > udc_id_switch_for_device(). > > Changes for v

Re: [PATCH v3 05/13] usb: chipidea: udc: driver update for OTG HNP.

2014-03-18 Thread Peter Chen
On Tue, Mar 18, 2014 at 10:36:17AM +0800, Peter Chen wrote: > On Mon, Mar 17, 2014 at 01:43:05PM +0800, Li Jun wrote: > > On Wed, Mar 12, 2014 at 04:21:28PM +0800, Peter Chen wrote: > > > On Wed, Mar 12, 2014 at 03:12:48PM +0800, Li Jun wrote: > > > > On Wed, Mar 12, 2014 at 03:01:15PM +0800, Peter