[PATCH v6 1/3] USB: io_ti: Increase insufficient timeout for firmware downloads

2015-06-18 Thread Peter E. Berger
From: Peter E. Berger pber...@brimson.com The io_ti driver fails to download firmware to Edgeport devices such as the EP/416. One of the problems is that the default 1 second timeout in ti_vsend_sync() is insufficient for download operations. This patch increases the download timeout to 10

[PATCH v6 3/3] USB: io_ti: Add heartbeat to keep idle Edgeport ports from disconnecting

2015-06-18 Thread Peter E. Berger
From: Peter E. Berger pber...@brimson.com When using newer Edgeport devices such as the EP/416, idle ports are automatically bounced (disconnected and then reconnected) approximately every 60 seconds. This breaks programs (e.g: minicom) where idle periods are common, normal and expected. I

[PATCH v6 0/3] Fix idle port disconnects and firmware downloading

2015-06-18 Thread Peter E. Berger
From: Peter E. Berger pber...@brimson.com I found that when using newer Edgeport devices such as the EP/416, idle ports are regularly bounced (disconnected and then reconnected). I discussed this with the manufacturer (Digi International) and learned that some newer Edgeport devices now ship from

[PATCH v6 2/3] USB: io_ti: Move request_firmware() calls out of download_fw()

2015-06-18 Thread Peter E. Berger
From: Peter E. Berger pber...@brimson.com The io_ti driver fails to download firmware to Edgeport devices such as the EP/416, even when the on-disk firmware image (/lib/firmware/edgeport/down3.bin) is more current than the version on the EP/416. The current download code is broken in a few ways.

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 03:07:48PM +0300, Roger Quadros wrote: On Thu, 18 Jun 2015 16:47:48 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote: Lin, You can use --in-reply-to message id of v5 of this path so that it appears

Re: [PATCH v5 02/10] USB: io_ti: Add timeout parameter to ti_vsend_sync()

2015-06-18 Thread Peter Berger
On Wed, 2015-06-17 at 11:21 +0200, Johan Hovold wrote: On Mon, Jun 15, 2015 at 10:47:25AM -0500, Peter E. Berger wrote: From: Peter E. Berger pber...@brimson.com Instead of having ti_vsend_sync() decide when to use non-default timeouts, make timeout a parameter and leave the decision to

Re: [PATCH v5 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-18 Thread Roger Quadros
On Thu, 18 Jun 2015 16:20:30 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 18, 2015 at 10:39:35AM +0300, Roger Quadros wrote: Typo in subject gadeget's - gadget's On Wed, 17 Jun 2015 19:40:15 +0800 Li Jun jun...@freescale.com wrote: Set gadget's otg capabilities according

[PATCH v2 1/7] mn10300: fix build failure

2015-06-18 Thread Sudip Mukherjee
allmodconfig build fails with the error: invalid use of undefined type 'struct kprobe_ctlblk' just declared the two basic structures after checking the struct in other architectures. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- arch/mn10300/include/asm/kprobes.h | 12 1

[PATCH v2 0/7] fix build failure of mn10300

2015-06-18 Thread Sudip Mukherjee
Hi, This is an attempt to fix the build failures when building mn10300 with allmodconfig. As I have never worked with arch files so I hope you will point me to right direction to correct my mistakes in this attempt. regards sudip Sudip Mukherjee (7): mn10300: fix build failure mn10300:

[PATCH v2 2/7] mn10300: Provide dummy dma_alloc_attrs() and dma_free_attrs()

2015-06-18 Thread Sudip Mukherjee
allmodconfig fails to build with following errors. drivers/media/platform/sti/bdisp/bdisp-hw.c: In function 'bdisp_hw_free_nodes': drivers/media/platform/sti/bdisp/bdisp-hw.c:132:3: error: implicit declaration of function 'dma_free_attrs'

Re: [PATCH v5 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 03:06:27PM +0300, Roger Quadros wrote: On Thu, 18 Jun 2015 16:20:30 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 18, 2015 at 10:39:35AM +0300, Roger Quadros wrote: Typo in subject gadeget's - gadget's On Wed, 17 Jun 2015 19:40:15 +0800 Li Jun

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Roger Quadros
On Thu, 18 Jun 2015 16:47:48 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote: Lin, You can use --in-reply-to message id of v5 of this path so that it appears together with the other patches in peoples mailboxes. + * the

Re: [PATCH v2 3/7] mmc: mediatek: build as module

2015-06-18 Thread Ulf Hansson
On 18 June 2015 at 14:17, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: while building as module with mn10300 it failed with: warning: data definition has no type or storage class module_init(__driver##_init); Signed-off-by: Sudip Mukherjee su...@vectorindia.org Thanks for the

[PATCH v2 5/7] samples: kdbus: disable for mn10300

2015-06-18 Thread Sudip Mukherjee
While building it failed with: In function 'prime_new': error: '__NR_memfd_create' undeclared (first use in this function) memfd_create syscall has not yet been implemented for mn10300. so disable compilation of samples/kdbus for now with mn10300. Signed-off-by: Sudip Mukherjee

[PATCH v2 4/7] USB: mos7720: rename DCR

2015-06-18 Thread Sudip Mukherjee
While building with mn10300 it failed with: error: expected identifier before '(' token #define __SYSREG(ADDR, TYPE) (*(volatile TYPE *)(ADDR)) note: in expansion of macro '__SYSREG' #define DCR __SYSREG(0xc030, u16) /* Debug control register */ mn10300 has a register named as DCR, so

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Roger Quadros
On Thu, 18 Jun 2015 15:55:28 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote: Lin, You can use --in-reply-to message id of v5 of this path so that it appears together with the other patches in peoples mailboxes. okay, I will

[PATCH v2 3/7] mmc: mediatek: build as module

2015-06-18 Thread Sudip Mukherjee
while building as module with mn10300 it failed with: warning: data definition has no type or storage class module_init(__driver##_init); Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/mmc/host/mtk-sd.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 7/7] mn10300: add early_init_dt_*

2015-06-18 Thread Sudip Mukherjee
While building it failed with: undefined reference to `early_init_dt_alloc_memory_arch' undefined reference to `early_init_dt_add_memory_arch' Added the function after seeing them in x86. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- arch/mn10300/kernel/setup.c | 15 +++

[PATCH v2 6/7] mn10300: kgdb_arch_set_pc

2015-06-18 Thread Sudip Mukherjee
While building it failed with: undefined reference to `kgdb_arch_set_pc' Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- arch/mn10300/kernel/kgdb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/mn10300/kernel/kgdb.c b/arch/mn10300/kernel/kgdb.c index 9977082..8a0ae2b

Re: [PATCH v4 0/6] usb: interface authorization

2015-06-18 Thread Alan Stern
On Thu, 18 Jun 2015, Stefan Koch wrote: This patch introduces an interface authorization for USB devices. The kernel supports a device authorization because of wireless USB. But the new interface authorization allows to authorize or deauthorize individual interfaces instead authorization or

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 03:18:24PM +0300, Roger Quadros wrote: On Thu, 18 Jun 2015 15:55:28 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote: Lin, You can use --in-reply-to message id of v5 of this path so that it appears

Re: [PATCH v4 2/6] usb: interface authorization: Introduces the default interface authorization

2015-06-18 Thread Alan Stern
On Thu, 18 Jun 2015, Stefan Koch wrote: Interfaces are allowed per default. This can disabled or enabled (again) by writing 0 or 1 to /sys/bus/usb/devices/usbX/interface_authorized_default Signed-off-by: Stefan Koch sk...@suse.de +/* + * interface_authorized_default_store - store default

[PATCH v4 0/6] usb: interface authorization

2015-06-18 Thread Stefan Koch
This patch introduces an interface authorization for USB devices. The kernel supports a device authorization because of wireless USB. But the new interface authorization allows to authorize or deauthorize individual interfaces instead authorization or deauthorize a whole device. Therefore the

Re: [Linux-am33-list] [PATCH v2 0/7] fix build failure of mn10300

2015-06-18 Thread Russell King - ARM Linux
On Thu, Jun 18, 2015 at 10:31:07AM -0500, Jay C. Polmar wrote: I am on this list by mistake and 5/15/2011 we requested to be removed, can someone remove me from this list? There are six mailing lists in the Cc line. For all of the lists present there, I can't help you, but you should be able

[PATCH v4 2/6] usb: interface authorization: Introduces the default interface authorization

2015-06-18 Thread Stefan Koch
Interfaces are allowed per default. This can disabled or enabled (again) by writing 0 or 1 to /sys/bus/usb/devices/usbX/interface_authorized_default Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/hcd.c | 54 ++

[PATCH v4 4/6] usb: interface authorization: Introduces the USB interface authorization.

2015-06-18 Thread Stefan Koch
The kernel supports the device authorization because of wireless USB. These is usable for wired USB devices, too. These new interface authorization allows to enable or disable individual interfaces instead a whole device. If a deauthorized interface will be authorized so the driver probing must

[PATCH v4 5/6] usb: interface authorization: SysFS part of USB interface authorization.

2015-06-18 Thread Stefan Koch
This introduces an attribute for each interface to authorize (1) or deauthorize (0) it: /sys/bus/usb/devices/INTERFACE/authorized Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/sysfs.c | 41 + 1 file changed, 41 insertions(+) diff --git

[PATCH v4 6/6] usb: interface authorization: Documentation part

2015-06-18 Thread Stefan Koch
This part adds the documentation for the interface authorization. Signed-off-by: Stefan Koch sk...@suse.de --- Documentation/ABI/testing/sysfs-bus-usb | 22 + Documentation/usb/authorization.txt | 34 + 2 files changed, 56 insertions(+)

[PATCH v4 3/6] usb: interface authorization: Control interface probing and claiming

2015-06-18 Thread Stefan Koch
Driver probings and interface claims get rejected if an interface is not authorized. Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/driver.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index

[PATCH v4 1/6] usb: interface authorization: Declare authorized attribute

2015-06-18 Thread Stefan Koch
The attribute authorized shows the authorization state for an interface. Signed-off-by: Stefan Koch sk...@suse.de --- include/linux/usb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/usb.h b/include/linux/usb.h index 447fe29..2a991cb 100644 --- a/include/linux/usb.h +++

Re: [PATCH v2 5/7] samples: kdbus: disable for mn10300

2015-06-18 Thread Greg Kroah-Hartman
On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote: While building it failed with: In function 'prime_new': error: '__NR_memfd_create' undeclared (first use in this function) memfd_create syscall has not yet been implemented for mn10300. so disable compilation of samples/kdbus

Re: [PATCH v2 0/7] fix build failure of mn10300

2015-06-18 Thread Russell King - ARM Linux
On Thu, Jun 18, 2015 at 05:47:46PM +0530, Sudip Mukherjee wrote: This is an attempt to fix the build failures when building mn10300 with allmodconfig. As I have never worked with arch files so I hope you will point me to right direction to correct my mistakes in this attempt. Why has the

Re: [PATCH v2 0/5] usb: Add usb interface authorization

2015-06-18 Thread Stefan Koch
Am Mittwoch, den 17.06.2015, 11:38 -0400 schrieb Alan Stern: On Wed, 17 Jun 2015, Stefan Koch wrote: You write in another mail: You could probe all the interfaces whenever any interface is authorized. Or there could be a separate mechanism to initiate probing. The first is the actual

Re: [PATCH v4 1/6] usb: interface authorization: Declare authorized attribute

2015-06-18 Thread Alan Stern
On Thu, 18 Jun 2015, Stefan Koch wrote: The attribute authorized shows the authorization state for an interface. Signed-off-by: Stefan Koch sk...@suse.de --- include/linux/usb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/usb.h b/include/linux/usb.h index

Re: [PATCH v4 3/6] usb: interface authorization: Control interface probing and claiming

2015-06-18 Thread Alan Stern
On Thu, 18 Jun 2015, Stefan Koch wrote: Driver probings and interface claims get rejected if an interface is not authorized. Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/driver.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/core/driver.c

[PATCH v5 6/6] usb: interface authorization: Documentation part

2015-06-18 Thread Stefan Koch
This part adds the documentation for the interface authorization. Signed-off-by: Stefan Koch sk...@suse.de --- Documentation/ABI/testing/sysfs-bus-usb | 22 + Documentation/usb/authorization.txt | 34 + 2 files changed, 56 insertions(+)

[PATCH v5 2/6] usb: interface authorization: Introduces the default interface authorization

2015-06-18 Thread Stefan Koch
Interfaces are allowed per default. This can disabled or enabled (again) by writing 0 or 1 to /sys/bus/usb/devices/usbX/interface_authorized_default Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/hcd.c | 52 ++

[PATCH v5 1/6] usb: interface authorization: Declare authorized attribute

2015-06-18 Thread Stefan Koch
The attribute authorized shows the authorization state for an interface. Signed-off-by: Stefan Koch sk...@suse.de --- include/linux/usb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb.h b/include/linux/usb.h index 447fe29..135c50c 100644 --- a/include/linux/usb.h +++

[PATCH v5 0/6] usb: interface authorization

2015-06-18 Thread Stefan Koch
This patch introduces an interface authorization for USB devices. The kernel supports a device authorization because of wireless USB. But the new interface authorization allows to authorize or deauthorize individual interfaces instead authorization or deauthorize a whole device. Therefore the

[PATCH v5 5/6] usb: interface authorization: SysFS part of USB interface authorization.

2015-06-18 Thread Stefan Koch
This introduces an attribute for each interface to authorize (1) or deauthorize (0) it: /sys/bus/usb/devices/INTERFACE/authorized Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/sysfs.c | 41 + 1 file changed, 41 insertions(+) diff --git

Re: [PATCH v4 4/6] usb: interface authorization: Introduces the USB interface authorization.

2015-06-18 Thread Alan Stern
On Thu, 18 Jun 2015, Stefan Koch wrote: The kernel supports the device authorization because of wireless USB. These is usable for wired USB devices, too. These new interface authorization allows to enable or disable individual interfaces instead a whole device. If a deauthorized interface

Re: [PATCH v2 5/7] samples: kdbus: disable for mn10300

2015-06-18 Thread Sudip Mukherjee
On Thu, Jun 18, 2015 at 07:39:58AM -0700, Greg Kroah-Hartman wrote: On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote: While building it failed with: In function 'prime_new': error: '__NR_memfd_create' undeclared (first use in this function) memfd_create syscall has not

Re: [PATCH v2 0/7] fix build failure of mn10300

2015-06-18 Thread Sudip Mukherjee
On Thu, Jun 18, 2015 at 03:51:38PM +0100, Russell King - ARM Linux wrote: On Thu, Jun 18, 2015 at 05:47:46PM +0530, Sudip Mukherjee wrote: This is an attempt to fix the build failures when building mn10300 with allmodconfig. As I have never worked with arch files so I hope you will point me

[PATCH] usb: ulpi: call put_device if device_register fails

2015-06-18 Thread ChengYi He
put_device is required to release the last reference to the device. Signed-off-by: ChengYi He chengyihetai...@gmail.com --- drivers/usb/common/ulpi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/common/ulpi.c b/drivers/usb/common/ulpi.c index

Re: [PATCH v4 0/6] usb: interface authorization

2015-06-18 Thread Stefan Koch
Am Donnerstag, den 18.06.2015, 11:41 -0400 schrieb Alan Stern: On Thu, 18 Jun 2015, Stefan Koch wrote: This patch introduces an interface authorization for USB devices. The kernel supports a device authorization because of wireless USB. But the new interface authorization allows to

Re: [PATCH v2 5/7] samples: kdbus: disable for mn10300

2015-06-18 Thread Greg Kroah-Hartman
On Thu, Jun 18, 2015 at 09:49:05PM +0530, Sudip Mukherjee wrote: On Thu, Jun 18, 2015 at 07:39:58AM -0700, Greg Kroah-Hartman wrote: On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote: While building it failed with: In function 'prime_new': error: '__NR_memfd_create'

Re: [PATCH] usb:gadget:Simplify the error checking of the function,at91sam9261_udc_init

2015-06-18 Thread Alexandre Belloni
On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote : This simplifies the error checking of the function,at91sam9261_udc_init by using PTR_ERR_OR_ZERO in the return statement rather then a unnessary if statement to check the return value of a call to the function,

[PATCH v5 3/6] usb: interface authorization: Control interface probing and claiming

2015-06-18 Thread Stefan Koch
Driver probings and interface claims get rejected if an interface is not authorized. Signed-off-by: Stefan Koch sk...@suse.de --- drivers/usb/core/driver.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index

[PATCH v5 4/6] usb: interface authorization: Introduces the USB interface authorization.

2015-06-18 Thread Stefan Koch
The kernel supports the device authorization because of wireless USB. These is usable for wired USB devices, too. These new interface authorization allows to enable or disable individual interfaces instead a whole device. If a deauthorized interface will be authorized so the driver probing must

[PATCH 2/2] usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA

2015-06-18 Thread Peter Chen
For i.mx platform, set ttctrl.ttha with non-zero value only affects sitd, and ehci core makes sure the schedule is not full when accepts new request, so it will not occur the transaction which will acorss the SoF. Signed-off-by: Peter Chen peter.c...@freescale.com ---

[PATCH 1/2] usb: chipidea: add ttctrl.ttha control interface

2015-06-18 Thread Peter Chen
The register of ttctrl.ttha describes like below: - Internal TT Hub Address Representation - RW - Default = 000b This field is used to match against the Hub Address field in QH siTD to determine if the packet is routed to the internal TT for directly attached FS/LS devices. If the Hub Address

Re: [PATCH] usb:gadget:Simplify the error checking of the function,at91sam9261_udc_init

2015-06-18 Thread Alexandre Belloni
On 18/06/2015 at 18:41:14 +0200, Alexandre Belloni wrote : On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote : This simplifies the error checking of the function,at91sam9261_udc_init by using PTR_ERR_OR_ZERO in the return statement rather then a unnessary if statement to check the

Re: [PATCH v5 0/6] usb: interface authorization

2015-06-18 Thread Alan Stern
On Thu, 18 Jun 2015, Stefan Koch wrote: This patch introduces an interface authorization for USB devices. The kernel supports a device authorization because of wireless USB. But the new interface authorization allows to authorize or deauthorize individual interfaces instead authorization or

cdc_acm / cdc_wdm issue. Connection to device lost (Sony Ericsson w660)

2015-06-18 Thread Fab Stz
Hello, I'm facing some issues to connect to my mobile phone (Sony Ericsson W660i) I use Gammu/Wammu to connect to my mobile phone With kernel 3.2 (debian wheezy) it works fine. But with kernel 3.16 (debian jessie) or even 4.0.2 it doesn't work. Moreover, the connection of the phone to the PC

Re: [PATCH] usb:gadget:Simplify the error checking of the function,at91sam9261_udc_init

2015-06-18 Thread Greg KH
On Thu, Jun 18, 2015 at 09:04:52PM +0200, Alexandre Belloni wrote: On 18/06/2015 at 18:41:14 +0200, Alexandre Belloni wrote : On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote : This simplifies the error checking of the function,at91sam9261_udc_init by using PTR_ERR_OR_ZERO in the

Re: optimal io size / custom alignment

2015-06-18 Thread Martin K. Petersen
Tom == Tom Yan tom.t...@gmail.com writes: Tom No I put it in the wrong way. What I meant was sd vs md. For Tom example, couldn't the scsi disk driver bind the value it reads from Tom the VPD to another variable instead of optimal i/o size, so that Tom this value would be exclusively for RAID

usbip: usb3 support?

2015-06-18 Thread Florian Klink
Hey, I tried to use usbip to access a USB3 device over the network. However, `usbip attach -r $HOST -b $BUS` on the client failed with Failed attach request for unsupported USB speed: super-speed I looked at drivers/usb/usbip/vhci_sysfs.c:150 and discovered USB_SPEED_SUPER wasn't in the list

Re: usbip: usb3 support?

2015-06-18 Thread Greg KH
On Fri, Jun 19, 2015 at 12:36:05AM +0200, Florian Klink wrote: Hey, I tried to use usbip to access a USB3 device over the network. However, `usbip attach -r $HOST -b $BUS` on the client failed with Failed attach request for unsupported USB speed: super-speed I looked at

Re: usbip: usb3 support?

2015-06-18 Thread Florian Klink
I tried to use usbip to access a USB3 device over the network. However, `usbip attach -r $HOST -b $BUS` on the client failed with Failed attach request for unsupported USB speed: super-speed I looked at drivers/usb/usbip/vhci_sysfs.c:150 and discovered USB_SPEED_SUPER wasn't in the list of

Re: [PATCH] usb: xhci: make USB_XHCI_PLATFORM selectable

2015-06-18 Thread Mathias Nyman
On 17.06.2015 18:19, Rafał Miłecki wrote: On 17 June 2015 at 17:11, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 16.06.2015 23:01, Rafał Miłecki wrote: On 16 June 2015 at 21:56, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Jun 16, 2015 at 09:18:05PM +0200, Rafał

Re: [PATCH v2] USB SERIAL: option.c: add 2020:4000 IDs

2015-06-18 Thread Claudio Cappelli
On Wednesday 17 June 2015 11:55:37 Johan Hovold wrote: On Fri, Jun 12, 2015 at 09:32:31AM +0200, Claudio Cappelli wrote: Was this second version in the right format? Since it was my first patch submit, I'd be grateful if you could confirm. Looks good. I've added the usb-devices output

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote: Lin, You can use --in-reply-to message id of v5 of this path so that it appears together with the other patches in peoples mailboxes. okay, I will try that next time, thanks. Li Jun On Thu, 18 Jun 2015 09:18:22 +0800 Li Jun

Re: [PATCH v5 12/23] usb: gadget: ether: allocate and init otg descriptor by otg capabilities

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 10:51:48AM +0300, Roger Quadros wrote: On Thu, 18 Jun 2015 10:43:02 +0300 Roger Quadros rog...@ti.com wrote: On Wed, 17 Jun 2015 19:40:19 +0800 Li Jun jun...@freescale.com wrote: @@ -228,11 +215,6 @@ static int rndis_do_config(struct usb_configuration *c)

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote: Lin, You can use --in-reply-to message id of v5 of this path so that it appears together with the other patches in peoples mailboxes. + * the passed properties in DT. + * @np: Pointer to the given device_node + *

Re: [PATCH v5 12/23] usb: gadget: ether: allocate and init otg descriptor by otg capabilities

2015-06-18 Thread Roger Quadros
On Wed, 17 Jun 2015 19:40:19 +0800 Li Jun jun...@freescale.com wrote: Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while ether unbind. If otg capability is not defined, keep its otg descriptor unchanged.

Re: [PATCH v5 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-18 Thread Li Jun
On Thu, Jun 18, 2015 at 10:39:35AM +0300, Roger Quadros wrote: Typo in subject gadeget's - gadget's On Wed, 17 Jun 2015 19:40:15 +0800 Li Jun jun...@freescale.com wrote: Set gadget's otg capabilities according to controller's capability and otg properties in device tree.

Re: [PATCH v6] usb: common: add API to set usb otg capabilities by device tree

2015-06-18 Thread Roger Quadros
Lin, You can use --in-reply-to message id of v5 of this path so that it appears together with the other patches in peoples mailboxes. On Thu, 18 Jun 2015 09:18:22 +0800 Li Jun jun...@freescale.com wrote: Change for v6: UPdate otg caps by disable flags even if otg_rev is not passed, this is

Re: [PATCH v5 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-18 Thread Roger Quadros
Typo in subject gadeget's - gadget's On Wed, 17 Jun 2015 19:40:15 +0800 Li Jun jun...@freescale.com wrote: Set gadget's otg capabilities according to controller's capability and otg properties in device tree. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/core.c | 8

Re: [PATCH v5 12/23] usb: gadget: ether: allocate and init otg descriptor by otg capabilities

2015-06-18 Thread Roger Quadros
On Thu, 18 Jun 2015 10:43:02 +0300 Roger Quadros rog...@ti.com wrote: On Wed, 17 Jun 2015 19:40:19 +0800 Li Jun jun...@freescale.com wrote: Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while ether unbind. If