Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
And...why in Windows we have this line? 0050   75 76 77 61 62 63 64 65 66 67 68 69 6e 63 6d 30  uvwabcdefghincm0 Is this just padding stuff before the "ncm0" string? So in particular a simple line needs to be modified in practice in the driver, or am I totally misguised? Is our "offset" parameter

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
It's an ping packet. Windows pads it with 'abcdef...'. Regards, Kevin On 11/28/2014 04:17 PM, Enrico Mioso wrote: > And...why in Windows we have this line? > 0050 75 76 77 61 62 63 64 65 66 67 68 69 6e 63 6d 30 uvwabcdefghincm0 > Is this just padding stuff before the "ncm0" string? > So in par

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
The driver effectively uses the wNdpOutDivisor indirectly - see standard cdc_ncm deriver as in kernel git tree, line 490. On Fri, 28 Nov 2014, Kevin Zhu wrote: ==Date: Fri, 28 Nov 2014 07:24:49 ==From: Kevin Zhu ==To: Alex Strizhevsky , Bjørn Mork , ==Midge Shaojun Tan ==Cc: Enrico Mioso

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
As the remainder (wNdpOutPayloadRemainder) is overwritten by the following lines, whose finally value is 0, I modified the code not to change it. Let it remain 2. And now the capture shows the Ethernet header offset is the same as windows, however, it's not working yet. /* adjust TX-remainder

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
Bj-rn, you where right. I was thinking this was the classic compulsory switch from a bitness to an higher one. Sorry. On Fri, 28 Nov 2014, Kevin Zhu wrote: ==Date: Fri, 28 Nov 2014 09:23:16 ==From: Kevin Zhu ==To: Enrico Mioso ==Cc: Alex Strizhevsky , Bjørn Mork , ==Midge Shaojun Tan , =

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
But you are still in 16-bit mode, right? Have you tried by chance in 32-bit mode? I am convinced this is not the problem ... but, justi n case? thank you Kevin for your work - and sorry for being not so helpful... On Fri, 28 Nov 2014, Kevin Zhu wrote: ==Date: Fri, 28 Nov 2014 09:37:30 ==From: K

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
To test our 32-bit driver, you need at least Ubuntu 14.04 and install the 3.16 kernel; or install a kernel >= 3.16 anyway, as our modification is based on the cdc_ncm.c file from the git tree for logical reason. On Fri, 28 Nov 2014, Kevin Zhu wrote: ==Date: Fri, 28 Nov 2014 09:37:30 ==From: Ke

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
No. I also tried the 32bit version. The result is the same. Regards, Kevin On 11/28/2014 04:42 PM, Enrico Mioso wrote: > But you are still in 16-bit mode, right? > Have you tried by chance in 32-bit mode? I am convinced this is not the > problem > ... but, justi n case? > thank you Kevin for you

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
You have been helping a lot. Thanks! Regards, Kevin On 11/28/2014 04:42 PM, Enrico Mioso wrote: > But you are still in 16-bit mode, right? > Have you tried by chance in 32-bit mode? I am convinced this is not the > problem > ... but, justi n case? > thank you Kevin for your work - and sorry for

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
This is an ARP packet from Linux 32bit driver. See if anyone can tell any mistake. 6e 63 6d 68 10 00 a9 00 94 01 00 00 10 00 00 00 ncmh 0010 6e 63 6d 30 20 00 00 00 00 00 00 00 00 00 00 00 ncm0 ... 0020 6a 01 00 00 2a 00 00 00 00 00 00 00 00 00 00 00 j...*..

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
Sorry - resending message to all. Is the MAC right? In my case it was, but ... you never know. And - have you tried the promisc mode, just in case... don't know if this might even be implementedi n the driver, think not, but... I don't know what to think anymore. this ARP packet seems the same as

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
Yes. The MACs are right. When I started Wireshark, promisc mode was set. Regards, Kevin On 11/28/2014 05:17 PM, Enrico Mioso wrote: > Sorry - resending message to all. > Is the MAC right? In my case it was, but ... you never know. > And - have you tried the promisc mode, just in case... don't kno

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
The only difference I can tell now is windows does not pack the NDP with zeros, it just sends whatever the skb buffer has, except the alignment. Regards, Kevin On 11/28/2014 05:17 PM, Enrico Mioso wrote: > Sorry - resending message to all. > Is the MAC right? In my case it was, but ... you never

Re: Is this 32-bit NCM?

2014-11-28 Thread Bjørn Mork
Enrico Mioso writes: > What I suspect, is that all this mess started when Huawei introduce new > firmware releases that changed something in the IPV6 support. > Bjorn - do you remember when a guy called Thomas reported us a problem about > an > LTE huawei modem that wasn't working with huawei_

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
... and what do you think regarding the last arp packet Kevin shared with us after having changed the remainder fixed value. -- 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.org/

Re: USB OTG doesn't work in HOST mode on OMAP3 processor on 3.18-rc5

2014-11-28 Thread Yegor Yefremov
On Wed, Nov 19, 2014 at 6:53 PM, Tony Lindgren wrote: > * Enric Balletbo Serra [141119 03:14]: >> 2014-11-18 16:42 GMT+01:00 Tony Lindgren : >> >> Checked again, and no luck. It's very weird because from the OTG point >> of view, OTG is exactly the same between Beagleboard-XM and IGEPv2. >> >> Ca

Re: [PATCH v1] usb: phy: generic: migrate to gpio_desc

2014-11-28 Thread Linus Walleij
On Fri, Nov 21, 2014 at 4:43 PM, Felipe Balbi wrote: > On Sun, Nov 09, 2014 at 01:23:07PM +0100, Robert Jarzmik wrote: >> >> Change internal gpio handling from integer gpios into gpio >> descriptors. This change only addresses the internal API and >> device-tree/ACPI, while the legacy platform dat

Re: [PATCH v1] chipidea: issue message when some calls fail in ->probe()

2014-11-28 Thread Andy Shevchenko
On Mon, 2014-11-17 at 08:50 +0800, Peter Chen wrote: > On Thu, Nov 13, 2014 at 05:59:47PM +0200, Andy Shevchenko wrote: > > There is no message when PHY is not enabled, IRQ line can't be acquired, or > > debugfs registration fails. This patch adds the messages. > > [] > Yes, I find the probe doe

Re: [PATCH v1] chipidea: pci: register nop PHY

2014-11-28 Thread Andy Shevchenko
On Fri, 2014-11-14 at 09:09 -0600, Felipe Balbi wrote: > On Fri, Nov 14, 2014 at 04:33:22PM +0200, Andy Shevchenko wrote: > > Since PHY for Chipidea is optional (not all SoCs having PHY for Chipidea > > should > > be programmed), we register 'nop' PHY for platforms that does not have > > s/does n

Re: [PATCH v1] chipidea: pci: register nop PHY

2014-11-28 Thread Andy Shevchenko
On Mon, 2014-11-17 at 09:46 +0800, Peter Chen wrote: > On Fri, Nov 14, 2014 at 04:33:22PM +0200, Andy Shevchenko wrote: > > Since PHY for Chipidea is optional (not all SoCs having PHY for Chipidea > > should > > be programmed), we register 'nop' PHY for platforms that does not have > > programmabl

Re: [PATCH 6/8] usb: musb: Pass fifo_mode in platform data

2014-11-28 Thread Linus Walleij
On Mon, Nov 24, 2014 at 8:05 PM, Tony Lindgren wrote: > This allows setting the correct fifo_mode when multiple > MUSB glue layers are built-in. > > Cc: Fabio Baltieri > Cc: Lee Jones > Cc: Linus Walleij > Cc: Apelete Seketeli > Cc: Lars-Peter Clausen > Signed-off-by: Tony Lindgren Reviewe

Re: [PATCH 5/8] usb: musb: Change end point selection to use new IO access

2014-11-28 Thread Linus Walleij
On Mon, Nov 24, 2014 at 8:05 PM, Tony Lindgren wrote: > This allows the endpoints to work when multiple MUSB glue > layers are built in. > > Cc: Fabio Baltieri > Cc: Lee Jones > Cc: Linus Walleij > Cc: Apelete Seketeli > Cc: Lars-Peter Clausen > Signed-off-by: Tony Lindgren Acked-by: Linus

[PATCH 16/17] net2280: Move ASSERT_OUT_NAKING into out_flush

2014-11-28 Thread Ricardo Ribalda Delgado
ASSERT_OUT_NAKING was only called by out_flush and was hidden behind a ifdef. This patch moves the inline function into out_flush and remove the ifdef. The user can decide to print the debug message or not via dynamic printk Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2

[PATCH 17/17] net2280: Re-enable dynamic debug messages

2014-11-28 Thread Ricardo Ribalda Delgado
Some debug messages were not build due to unconditional #if 0. These messages are very useful for debugging and the user can enable them on demand via dynamic debug. If they are not enabled the performance is not affected. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net22

[PATCH 12/17] net2280: Improve patching of defect 7374

2014-11-28 Thread Ricardo Ribalda Delgado
Once the defect 7374 is patched, there is no reason the keep reading the idx scratch register. Cache the content of the scratch idx register on device flag. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 153 +-- drivers/usb/gad

[PATCH 13/17] net2280: Remove function resume_dma

2014-11-28 Thread Ricardo Ribalda Delgado
Function resume_dma is not used, remove it. The reason the compiler did not catch this dead code is the inline modifier. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers

[PATCH 15/17] net2280: Simplify scan_dma_completions

2014-11-28 Thread Ricardo Ribalda Delgado
After fix superspeed dma_done was applied we can simplify the code by removing the duplicated dma_done and letting the function check if there are more completed dma transactions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 5 ++--- 1 file changed, 2 insertions(

[PATCH 14/17] net2280: Declare allow_status_338x as inline

2014-11-28 Thread Ricardo Ribalda Delgado
The function is very simple, does not declare any variable and it is called in the irq path. The counterpart for net228x is already declared as inline. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 07/17] net2280: Code cleanout remove ep_stdrsp function

2014-11-28 Thread Ricardo Ribalda Delgado
ep_stdrsp was only called by handle_stat0_irqs_superspeed and with always the same flags. Remove the function and replace the call by the code inside the function, since it is very simple once the dead code is removed. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c

[PATCH 11/17] net2280: Clean function net2280_queue

2014-11-28 Thread Ricardo Ribalda Delgado
Do not duplicate the code for the else branch of the condition. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 22 +- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net228

[PATCH 10/17] net2280: Merge abort_dma for 228x and 338x

2014-11-28 Thread Ricardo Ribalda Delgado
We can use the same function for both families of chips and also remove the ep_stop_dma() function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/udc/net2

[PATCH 08/17] net2280: Remove field is_halt

2014-11-28 Thread Ricardo Ribalda Delgado
Field is_halt is never used by any function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 6 +- drivers/usb/gadget/udc/net2280.h | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net

[PATCH 09/17] net2280: Remove function ep_stall

2014-11-28 Thread Ricardo Ribalda Delgado
irqs_superspeed calls ep_stall instead of set/clear_halt, due to a workaround for SS seqnum. Create a function with the workaround and call set/clear_halt instead. This way we can compare the code of super/normal speed and it is easier to follow the code. Signed-off-by: Ricardo Ribalda Delgado -

[PATCH 06/17] net2280: Remove restart_dma inline function definition

2014-11-28 Thread Ricardo Ribalda Delgado
restart_dma is not used before it is declaration. Therefore we can remove this definition. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c index 03

[PATCH 05/17] net2280: Remove dma_started field

2014-11-28 Thread Ricardo Ribalda Delgado
Remove dma_started field from net2280_ep structure, since it is not used by any function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 4 drivers/usb/gadget/udc/net2280.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/usb/gadge

[PATCH 04/17] net2280: Remove use_dma module parameter

2014-11-28 Thread Ricardo Ribalda Delgado
use_dma parameter was designed to enable the dma on the chip. It was enabled by default. It comes from the time when the dma was not reliable. Now it has been working ok in production. This patch removes this parameter. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.

[PATCH 01/17] net2280: Remove obsolete module param use_dma_chaining

2014-11-28 Thread Ricardo Ribalda Delgado
use_dma_chaining module parameter was designed to avoid creating one irq per package on a group of packages (with the help of the driver's flag no_interrupt). Unfortunately, when this parameter is enabled, the driver fails to work on both net2280 and 3380 chips. This patch removes this parameter,

[PATCH 03/17] net2280: Remove module parameter use_msi

2014-11-28 Thread Ricardo Ribalda Delgado
Parameter use_msi was used to enable msi irq on usb338x chips, it was enabled by default. There is no reason to prefer non-msi irq on usb338x, and it falls back to non msi on error. Therefore remove this option. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/udc/net2280.c | 6 ++

[PATCH 02/17] net2280: remove full_speed module parameter

2014-11-28 Thread Ricardo Ribalda Delgado
This patch removes the full_speed parameter used force full-speed operation. It was designed exclusively for testing purposes, and there is no reason to maintain this in a production kernel. Reverts: 2f0760774711c957c395b31131b848043af98edf Suggested-by: Alan Stern Signed-off-by: Ricardo Ribalda

[PATCH 00/17] net2280: Code cleanout, improve debug and remove broken param

2014-11-28 Thread Ricardo Ribalda Delgado
This set of patches removes broken parameter use_dma_chaining, and the unneeded full_speed,use_dma and use_msi. Then does some code cleanout by removing duplicated and dead code. Finally it removes the unconditional removed debug messages, since they can be enabled by the user via dynamic printk.

[PATCH 02/17] Documentation: usb: ECM function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test ECM function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 34 ++ 1 file changed, 34 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt in

[PATCH 00/17] USB gadget functions testing, 3.19

2014-11-28 Thread Andrzej Pietrasiewicz
This series adds a documentation file whith a summary of how to do basic testing of functions provided by USB gadgets. @Greg: Felipe's tree is closed, so can you consider this series for 3.19? It does not add any code. It documents what is already in your tree. It is mostly a compilation of inform

[PATCH 05/17] Documentation: usb: FFS function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test FFS (FunctionFS) function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 24 1 file changed, 24 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt

[PATCH 13/17] Documentation: usb: RNDIS function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test RNDIS function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 36 1 file changed, 36 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.tx

[PATCH 04/17] Documentation: usb: EEM function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test EEM function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 34 ++ 1 file changed, 34 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt in

[PATCH 12/17] Documentation: usb: PHONET function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test PHONET function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 64 1 file changed, 64 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.t

[PATCH 09/17] Documentation: usb: MIDI function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test MIDI function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 84 1 file changed, 84 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt

[PATCH 08/17] Documentation: usb: MASS STORAGE function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test MASS STORAGE function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 54 1 file changed, 54 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-tes

[PATCH 03/17] Documentation: usb: ECM subset function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test ECM subset function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 34 ++ 1 file changed, 34 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing

[PATCH 01/17] Documentation: usb: ACM function testing

2014-11-28 Thread Andrzej Pietrasiewicz
The newly added file will be used to provide descriptions of how to test the functions of USB gadgets. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/usb/gad

[PATCH 16/17] Documentation: usb: UAC1 function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test UAC1 function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt index 6e

[PATCH 15/17] Documentation: usb: SOURCESINK function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test SOURCESINK function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt in

[PATCH 14/17] Documentation: usb: SERIAL function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test SERIAL function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt ind

[PATCH 06/17] Documentation: usb: HID function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test HID function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 47 1 file changed, 47 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt

[PATCH 10/17] Documentation: usb: NCM function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test NCM function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 34 ++ 1 file changed, 34 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt in

[PATCH 07/17] Documentation: usb: LOOPBACK function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test LOOPBACK function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 23 +++ 1 file changed, 23 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt index e7

[PATCH 11/17] Documentation: usb: OBEX function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test OBEX function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 29 + 1 file changed, 29 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt index

[PATCH 17/17] Documentation: usb: UAC2 function testing

2014-11-28 Thread Andrzej Pietrasiewicz
Summary of how to test UAC2 function of USB gadget. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/usb/gadget-testing.txt | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt index a0

Re: [PATCH 06/17] net2280: Remove restart_dma inline function definition

2014-11-28 Thread Sergei Shtylyov
Hello. On 11/28/2014 04:50 PM, Ricardo Ribalda Delgado wrote: restart_dma is not used before it is declaration. Therefore we can s/it is/its/. remove this definition. You're removing the declaration, not definition. Signed-off-by: Ricardo Ribalda Delgado --- drivers/usb/gadget/

Re: [PATCH 06/17] net2280: Remove restart_dma inline function definition

2014-11-28 Thread Ricardo Ribalda Delgado
Hello Thanks for reviewing. I will fix it and resend it on the next version of the patchset to avoid spamming the ML I guess it is ok to add your Reviewed-by Thanks! On Fri, Nov 28, 2014 at 3:46 PM, Sergei Shtylyov wrote: > Hello. > > On 11/28/2014 04:50 PM, Ricardo Ribalda Delgado wrote: > >

Re: [PATCH 14/17] Documentation: usb: SERIAL function testing

2014-11-28 Thread Johan Hovold
On Fri, Nov 28, 2014 at 02:57:47PM +0100, Andrzej Pietrasiewicz wrote: > Summary of how to test SERIAL function of USB gadget. > +Testing the SERIAL function > +--- > + > +On host: insmod usbserial vendor= product= You should use the sysfs interface to add the IDs dynamica

Re: [PATCH V2 1/2] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-28 Thread Linus Walleij
On Fri, Nov 28, 2014 at 4:39 AM, Vivek Gautam wrote: > On Fri, Nov 28, 2014 at 9:05 AM, Vivek Gautam > wrote: >>> On Mon, Nov 24, 2014 at 6:32 PM, Vivek Gautam >>> wrote: USB and Power regulator on Exynos7 require gpios available in BUS1 pin controller block. So adding the BUS1

Re: [Update][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core

2014-11-28 Thread Alan Stern
On Fri, 28 Nov 2014, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: USB / PM: Drop CONFIG_PM_RUNTIME from the USB core > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected) PM_RUNTIME is always set if PM is set, so quite a few > #ifdef blocks depend

Re: [PATCH 06/17] net2280: Remove restart_dma inline function definition

2014-11-28 Thread Sergei Shtylyov
On 11/28/2014 06:21 PM, Ricardo Ribalda Delgado wrote: Thanks for reviewing. I will fix it and resend it on the next version of the patchset to avoid spamming the ML I guess it is ok to add your Reviewed-by Yes, if you like. Thanks! Not at all. :-) [...] On 11/28/2014 04:50 PM,

[PATCH] usbip: fix error handling in stub_probe()

2014-11-28 Thread Alexey Khoroshilov
If usb_hub_claim_port() fails, no resources are deallocated and if stub_add_files() fails, port is not released. The patch fixes these issues and rearranges error handling code. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/usb/usb

[GIT PULL] USB driver fixes for 3.18-rc7

2014-11-28 Thread Greg KH
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.18-rc7 for you to fetch changes up to 263e80b43559a6103e1

Re: [Update][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core

2014-11-28 Thread Rafael J. Wysocki
On Friday, November 28, 2014 11:09:11 AM Alan Stern wrote: > On Fri, 28 Nov 2014, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > Subject: USB / PM: Drop CONFIG_PM_RUNTIME from the USB core > > > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > > selected) PM_

Re: Value Setting of hcd->self.controller->dma_mask in oxu210hp-hcd.c

2014-11-28 Thread Greg KH
On Fri, Nov 28, 2014 at 11:12:05PM -0500, nick wrote: > Greetings Greg and others, You were banned from vger.kernel.org for a reason, do not try to go around that ban by emailing kernel developers directly, it's rude and just makes us want to blacklist you longer. -- To unsubscribe from this list:

[PATCH v4 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-11-28 Thread Muthu Mani
Adds support for USB-I2C/GPIO interfaces of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. Details about the device can be found at: http://www.cypress.com/?rID=84126 Signed-off-by: Muthu Mani Signed-off-by: Rajaram Regupathy --- Changes since v3: * Added devm_* allocation functi

[PATCH v4 2/3] i2c: add support for Cypress CYUSBS234 USB-I2C adapter

2014-11-28 Thread Muthu Mani
Adds support for USB-I2C interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The read/write operation is setup using vendor command through control endpoint and actual data transfer happens through bulk in/out endpoints. Details about the device can be found at: http://www.

[PATCH v4 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-11-28 Thread Muthu Mani
Adds support for USB-GPIO interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The GPIO get/set can be done through vendor command on control endpoint for the configured gpios. Details about the device can be found at: http://www.cypress.com/?rID=84126 Signed-off-by: Muthu