Re: [PATCH v6 0/3] usb: otg-fsm: Add documentation and some trivial cleanups

2016-03-31 Thread Peter Chen
On Wed, Mar 30, 2016 at 12:56:27PM +0300, Roger Quadros wrote: > Hi, > > Add documentation for struct otg_fsm with some trivial cleanups. > All patches have been Acked by otg-fsm maintainer (Peter Chen). > I will queue them, thanks. -- Best Regards, Peter Chen -- To unsubscribe from this list:

Re: [PATCH v4] kconfig/symbol.c: handle choice_values that depend on 'm' symbols

2016-03-31 Thread Roger Quadros
On 31/03/16 01:16, Ruslan Bilovol wrote: > Hi, > > On Thu, Mar 31, 2016 at 1:08 AM, Bin Liu wrote: >> Hi, >> >> On Fri, Aug 15, 2014 at 2:37 AM, Dirk Gouders wrote: >>> Bin Liu writes: >>> Dirk, On Thu, Aug 14, 2014 at 1:52 AM, Dirk Gouders wrote: > Bin Liu writes: > >>

Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-31 Thread Thang Q. Nguyen
Hi Balbi, If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and we need this code to check if dma mask should be manually set to 32 or 64. Thang On Wed, Mar 30, 2016 at 8:09 PM, Felipe Balbi wrote: > > Hi,

Re: [PATCH v3 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-03-31 Thread Thang Q. Nguyen
Thanks Grygorii for information. I checked but do not see dma_init_dev_from_parent is used in linux-next repository. Can you give me more information for what branch I can checkout to use it for USB DWC3? Thanks, Thang -- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in t

need to resubmit serial fixes?

2016-03-31 Thread Oliver Neukum
Hi, do I need to resubmit the serial fixes I submitted for the issues with the forged device descriptors leading to crashes? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 14:42, Felipe Balbi wrote: +#define DEFAULT_CUR_PROTECT (50) >>> >>> Where is this coming from ? Also, () are not necessary. >> >> Just want to protect the default current limitation. If that does not >> need, I'll remove it. > > It's your HW :-) You tell me if it's reall

Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-31 Thread Felipe Balbi
Hi, (please don't top-post) "Thang Q. Nguyen" writes: > Hi Balbi, > If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen > when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and > we need this code to check if dma mask should be manually set to 32 or > 64. Can yo

Re: [PATCH v3 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-03-31 Thread Felipe Balbi
"Thang Q. Nguyen" writes: > [ text/plain ] > Thanks Grygorii for information. > I checked but do not see dma_init_dev_from_parent is used in > linux-next repository. Can you give me more information for what > branch I can checkout to use it for USB DWC3? dma_init_dev_from_parent() is still a pro

Re: [PATCH v5 1/4] leds: core: add generic support for RGB Color LED's

2016-03-31 Thread Jacek Anaszewski
Hi Heiner, On 03/30/2016 03:59 PM, Heiner Kallweit wrote: On Wed, Mar 30, 2016 at 3:03 PM, Pavel Machek wrote: Hi! Ok, so: a) Do we want RGB leds to be handled by existing subsystem, or do we need separate layer on top of that? b) Does RGB make sense, or HSV? RGB is quite widely used in gr

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-31 Thread Felipe Balbi
Hi Baolin, Baolin Wang writes: >>> >> Make sense. In our company's solution, charger detection can be done >>> >> by hardware from PMIC at first, then it will not affect the DP/DM >>> >> line when gadget starts to enumeration. >>> > >>> > I see, charger type detection is done automatically by PM

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Felipe Balbi
Hi, Baolin Wang writes: > +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT) According to the spec we should always be talking about unit loads (1 unit load is 100mA for HS/FS/LS and 150mA for SS). Also, this will not work for SS capable ports and SS gadget

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 16:15, Felipe Balbi wrote: > > Hi Baolin, > > Baolin Wang writes: >> Make sense. In our company's solution, charger detection can be done >> by hardware from PMIC at first, then it will not affect the DP/DM >> line when gadget starts to enumeration. >

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 16:18, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT) > > According to the spec we should always be talking about unit loads (1 > unit load is 100mA for HS/FS/LS and 150mA for SS). Also,

Re: [RFT PATCH 0/4] usb: dwc2: Fix core reset and force mode delay problems

2016-03-31 Thread Stefan Wahren
Hi John, Am 29.03.2016 um 04:36 schrieb John Youn: > Hi, > > The following patch series addresses the core reset and force mode > delay problems we have been seeing on dwc2 for some platforms. > > I think I have identified the source of the inconsistencies between > platforms and this series attem

Re: [PATCH v6 0/3] usb: otg-fsm: Add documentation and some trivial cleanups

2016-03-31 Thread Roger Quadros
Peter, On 31/03/16 10:08, Peter Chen wrote: > On Wed, Mar 30, 2016 at 12:56:27PM +0300, Roger Quadros wrote: >> Hi, >> >> Add documentation for struct otg_fsm with some trivial cleanups. >> All patches have been Acked by otg-fsm maintainer (Peter Chen). >> > > I will queue them, thanks. > Patch

[PATCH v7 3/3] usb: otg-fsm: Prevent build warning "VDBG" redefined

2016-03-31 Thread Roger Quadros
If usb/otg-fsm.h and usb/composite.h are included together then it results in the build warning [1]. Prevent that by using dev_vdbg() instead. Also get rid of MPC_LOC which doesn't seem to be used by anyone. [1] - warning fixed by this patch: In file included from drivers/usb/dwc3/core.h:33,

Re: [PATCH v4] kconfig/symbol.c: handle choice_values that depend on 'm' symbols

2016-03-31 Thread Dirk Gouders
Dirk Gouders writes: > Roger Quadros writes: > >> On 31/03/16 01:16, Ruslan Bilovol wrote: >>> Hi, >>> >>> On Thu, Mar 31, 2016 at 1:08 AM, Bin Liu wrote: Hi, On Fri, Aug 15, 2014 at 2:37 AM, Dirk Gouders wrote: > Bin Liu writes: > >> Dirk, >> >> On Thu, Au

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Felipe Balbi
Baolin Wang writes: > [ text/plain ] > On 31 March 2016 at 16:18, Felipe Balbi wrote: >> >> Hi, >> >> Baolin Wang writes: >>> +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT) >> >> According to the spec we should always be talking about unit loads (1 >> unit load

Re: [PATCH v4] kconfig/symbol.c: handle choice_values that depend on 'm' symbols

2016-03-31 Thread Dirk Gouders
Roger Quadros writes: > On 31/03/16 01:16, Ruslan Bilovol wrote: >> Hi, >> >> On Thu, Mar 31, 2016 at 1:08 AM, Bin Liu wrote: >>> Hi, >>> >>> On Fri, Aug 15, 2014 at 2:37 AM, Dirk Gouders wrote: Bin Liu writes: > Dirk, > > On Thu, Aug 14, 2014 at 1:52 AM, Dirk Gouders w

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 18:06, Felipe Balbi wrote: > Baolin Wang writes: >> [ text/plain ] >> On 31 March 2016 at 16:18, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Baolin Wang writes: +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT) >>> >>> According to the spec we sh

[PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread Hans de Goede
Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with an usb-id of: 0bc2:331a, as these will fail to respond to a REPORT_LUNS command. Cc: sta...@vger.kernel.org Reported-and-tested-by: David Webb Signed-off-by: Hans de Goede --- drivers/usb/storage/uas.c | 14 +-

[PATCH 1/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread Daniele Palmas
Telit LE910 V2 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct Signed-off-by: Daniele Palmas --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm

[PATCH 0/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread Daniele Palmas
Telit LE910 V2 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct. Following the device details: Bus 001 Device 037: ID 1bc7:0036 Telit Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.

Re: [PATCH v5 1/2] USB: serial: cp210x: Adding GPIO support for CP2105

2016-03-31 Thread Linus Walleij
On Tue, Mar 29, 2016 at 6:47 PM, Martyn Welch wrote: > This patch adds support for the GPIO found on the CP2105. Unlike the GPIO > provided by some of the other devices supported by the cp210x driver, the > GPIO on the CP2015 is muxed on pins otherwise used for serial control > lines. The GPIO ha

To Your Attention

2016-03-31 Thread Elder I Frank
To Your Attention, On behalf of the board and management of International Monetary Committees it was resolved by the federal executive council and agreed that your Inheritance/Contract Fund valued at $10.5M would be released to you via DIPLOMATIC CHANNEL immediately your attention is received s

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-31 Thread Roger Quadros
On 30/03/16 21:44, John Youn wrote: > On 3/23/2016 11:52 PM, Felipe Balbi wrote: >> >> Hi, >> >> John Youn writes: >>> [ text/plain ] >>> On 3/21/2016 11:40 PM, Felipe Balbi wrote: Hi, John Youn writes: > [ text/plain ] > On 3/18/2016 12:17 PM, John Youn wrote: >>

Re: [PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread Alan Stern
On Thu, 31 Mar 2016, Hans de Goede wrote: > Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with > an usb-id of: 0bc2:331a, as these will fail to respond to a > REPORT_LUNS command. > @@ -532,6 +532,9 @@ void usb_stor_adjust_quirks(struct usb_device *udev, > unsigned long *fflags) >

Re: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-31 Thread Mathias Nyman
On 31.03.2016 06:51, Rajesh Bhagat wrote: Hello Mathias, Thanks a lot for your support. Attached patch is working and allows the completion handler to be called. And resume operation completes and shell comes back (but with lot of errors). Now, some other points which needs our attention h

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-31 Thread Felipe Balbi
Hi, Roger Quadros writes: >> We will need this function for a workaround. >> The function issues a softreset only to the device >> controller and performs minimal re-initialization >> so that the device controller can be usable. >> >> As some code

Re: [PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread James Bottomley
On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote: > Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with > an usb-id of: 0bc2:331a, as these will fail to respond to a > REPORT_LUNS command. Actually, if we're sending them a report luns command, they must be reporting in at SCSI-

Re: [PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread Hans de Goede
Hi, On 31-03-16 16:48, James Bottomley wrote: On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote: Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with an usb-id of: 0bc2:331a, as these will fail to respond to a REPORT_LUNS command. Actually, if we're sending them a report lun

Re: [PATCH v3 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-03-31 Thread Grygorii Strashko
On 03/31/2016 11:04 AM, Felipe Balbi wrote: > "Thang Q. Nguyen" writes: >> [ text/plain ] >> Thanks Grygorii for information. >> I checked but do not see dma_init_dev_from_parent is used in >> linux-next repository. Can you give me more information for what >> branch I can checkout to use it for U

Re: [PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread James Bottomley
On Thu, 2016-03-31 at 17:03 +0200, Hans de Goede wrote: > Hi, > > On 31-03-16 16:48, James Bottomley wrote: > > On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote: > > > Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with > > > an usb-id of: 0bc2:331a, as these will fail to respo

Re: [PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread Hans de Goede
Hi, On 31-03-16 17:11, James Bottomley wrote: On Thu, 2016-03-31 at 17:03 +0200, Hans de Goede wrote: Hi, On 31-03-16 16:48, James Bottomley wrote: On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote: Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with an usb-id of: 0bc2:331

Re: need to resubmit serial fixes?

2016-03-31 Thread Johan Hovold
On Thu, Mar 31, 2016 at 09:56:34AM +0200, Oliver Neukum wrote: > Hi, > > do I need to resubmit the serial fixes I submitted for > the issues with the forged device descriptors leading > to crashes? No, that's not necessary. I'm on the road for another couple of days but I'll forward these to Greg

Re: [PATCH v2] digi_acceleport: do sanity checking for the number of ports

2016-03-31 Thread Johan Hovold
On Mon, Mar 21, 2016 at 03:57:37PM +0100, Oliver Neukum wrote: > The driver can be crashed with devices that expose crafted > descriptors with too few endpoints. > See: > http://seclists.org/bugtraq/2016/Mar/61 > > Signed-off-by: Oliver Neukum > > v1 - added sanity checks > v2 - moved them to pr

[PATCH 3/3] USB: digi_acceleport: do sanity checking for the number of ports

2016-03-31 Thread Johan Hovold
From: Oliver Neukum The driver can be crashed with devices that expose crafted descriptors with too few endpoints. See: http://seclists.org/bugtraq/2016/Mar/61 Signed-off-by: Oliver Neukum [johan: fix OOB endpoint check and add error messages ] Cc: stable Signed-off-by: Johan Hovold --- dri

[PATCH 2/3] USB: cypress_m8: add endpoint sanity check

2016-03-31 Thread Johan Hovold
From: Oliver Neukum An attack using missing endpoints exists. CVE-2016-3137 Signed-off-by: Oliver Neukum CC: sta...@vger.kernel.org Signed-off-by: Johan Hovold --- drivers/usb/serial/cypress_m8.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/seri

[PATCH 0/3] USB: serial: add missing endpoint checks

2016-03-31 Thread Johan Hovold
Greg, These patches from Oliver add some sanity checks for missing endpoints and should go into v4.6-rc2. Would you mind picking these up directly? I expect to process the rest of my queue early next week. Note that this series has been compile-tested only. Thanks, Johan Oliver Neukum (3):

[PATCH 1/3] USB: mct_u232: add sanity checking in probe

2016-03-31 Thread Johan Hovold
From: Oliver Neukum An attack using the lack of sanity checking in probe is known. This patch checks for the existence of a second port. CVE-2016-3136 Signed-off-by: Oliver Neukum CC: sta...@vger.kernel.org [johan: add error message ] Signed-off-by: Johan Hovold --- drivers/usb/serial/mct_u2

Re: musb: kernel 3.18.29 build issue

2016-03-31 Thread Greg KH
On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote: > Hello Greg, > > 3.18.x is missing this patch [1] in order to perform a successful > build. The reason: following patch [2] in 3.18.x uses a macro name > introduced in the missing patch [1]. > > Could you queue it for 3.18.30? Nope

Re: [PATCH 0/3] USB: serial: add missing endpoint checks

2016-03-31 Thread Greg Kroah-Hartman
On Thu, Mar 31, 2016 at 12:04:23PM -0400, Johan Hovold wrote: > Greg, > > These patches from Oliver add some sanity checks for missing endpoints > and should go into v4.6-rc2. > > Would you mind picking these up directly? I expect to process the rest > of my queue early next week. Now applied, t

Re: USB gadgets with configfs hang reboot

2016-03-31 Thread Ivaylo Dimitrov
On 30.03.2016 22:25, Alan Stern wrote: On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote: seems to be created twice :). Maybe the problem is that the first time musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is after gadget drivers got loaded and noone unloads them. gadget d

Re: USB gadgets with configfs hang reboot

2016-03-31 Thread Alan Stern
On Thu, 31 Mar 2016, Ivaylo Dimitrov wrote: > > This isn't supposed to cause any problems. The two instances should > > never run at the same time, because they belong to different configs. > > > > The problem seems to be that fsg driver creates a thread for every > fsg_bind() call, which overw

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Mark Brown
On Thu, Mar 31, 2016 at 09:42:58AM +0300, Felipe Balbi wrote: > Baolin Wang writes: > > I want to use bus structure to manage the charger device. Maybe choose > > class to manage them? > I guess a class would fit better in this case. IIRC Greg didn't want new classes? signature.asc Descriptio

Re: [PATCH] uas: Add a new NO_REPORT_LUNS quirk

2016-03-31 Thread David Webb
Hi, > Actually it does support REPORT LUNS, some of the time. When you first > boot the computer with uas blacklisted for this device, so initialize > it once with usb-storage, and then reboot with out the blacklist > (and without removing power to the drive) uas will work with REPORT LUNS > bit c

Re: [PATCH] Input: gtco: fix crash on detecting device without endpoints

2016-03-31 Thread Dmitry Torokhov
On Fri, Mar 18, 2016 at 07:35:00PM +0100, Vladis Dronov wrote: > The gtco driver expects at least one valid endpoint. If given > malicious descriptors that specify 0 for the number of endpoints, > it will crash in the probe function. Ensure there is at least > one endpoint on the interface before u

Re: [PATCH 0/4] tablet: remove private copy to USB device

2016-03-31 Thread Dmitry Torokhov
On Tue, Mar 22, 2016 at 04:04:53PM +0100, Oliver Neukum wrote: > We now have a macro to easily get to the USB device from the interface. > So we are cleaning up all drivers to not store a private pointer. Applied all 4, thank you. > > Oliver Neukum (4): > acecad: stop saving struct usb_device

Re: [PATCH 1/4] acecad: stop saving struct usb_device

2016-03-31 Thread Dmitry Torokhov
On Tue, Mar 22, 2016 at 04:04:54PM +0100, Oliver Neukum wrote: > static int usb_acecad_open(struct input_dev *dev) > { > struct usb_acecad *acecad = input_get_drvdata(dev); > > - acecad->irq->dev = acecad->usbdev; > + acecad->irq->dev = interface_to_usbdev(acecad->intf); By the w

Re: musb: kernel 3.18.29 build issue

2016-03-31 Thread Bin Liu
Hi Greg, On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote: > On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote: > > Hello Greg, > > > > 3.18.x is missing this patch [1] in order to perform a successful > > build. The reason: following patch [2] in 3.18.x uses a macro name > >

RE: Chipidea in device mode & VBUS

2016-03-31 Thread Svetoslav Neykov
>If you find it can't work, there are may be something wrong at other places, >eg, the gadget driver is not >loaded successfully. Would you please help to >check more? Found the problem in my setup. The patch is working great now. Thanks, Svet. -- To unsubscribe from this list: send the line

Re: musb: kernel 3.18.29 build issue

2016-03-31 Thread Greg KH
On Thu, Mar 31, 2016 at 02:10:59PM -0500, Bin Liu wrote: > Hi Greg, > > On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote: > > On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote: > > > Hello Greg, > > > > > > 3.18.x is missing this patch [1] in order to perform a successful > >

Re: musb: kernel 3.18.29 build issue

2016-03-31 Thread Bin Liu
On Thu, Mar 31, 2016 at 12:48:39PM -0700, Greg KH wrote: > On Thu, Mar 31, 2016 at 02:10:59PM -0500, Bin Liu wrote: > > Hi Greg, > > > > On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote: > > > On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote: > > > > Hello Greg, > > > > > > >

Re: musb: kernel 3.18.29 build issue

2016-03-31 Thread Greg KH
On Thu, Mar 31, 2016 at 02:58:47PM -0500, Bin Liu wrote: > On Thu, Mar 31, 2016 at 12:48:39PM -0700, Greg KH wrote: > > On Thu, Mar 31, 2016 at 02:10:59PM -0500, Bin Liu wrote: > > > Hi Greg, > > > > > > On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote: > > > > On Thu, Mar 31, 2016 at 07:29

Re: [RFT PATCH 0/4] usb: dwc2: Fix core reset and force mode delay problems

2016-03-31 Thread Michael Niewoehner
Hi John, Am 29.03.2016 um 04:36 schrieb John Youn : > Hi, > > The following patch series addresses the core reset and force mode > delay problems we have been seeing on dwc2 for some platforms. > > I think I have identified the source of the inconsistencies between > platforms and this series a

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-31 Thread Bin Liu
Hi, On Thu, Mar 31, 2016 at 09:16:19AM +0300, Felipe Balbi wrote: > > Hi, > > Bin Liu writes: > > [ text/plain ] > > Hi, > > > > On Wed, Mar 30, 2016 at 09:14:18AM +0300, Felipe Balbi wrote: > >> > >> Hi again, > >> > >> Felipe Balbi writes: > >> > Bin Liu writes: > >> >> On Fri, Mar 18, 20

Re: [PATCH 1/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread David Miller
From: Daniele Palmas Date: Thu, 31 Mar 2016 15:16:47 +0200 > Telit LE910 V2 is a mobile broadband card with no ARP capabilities: > the patch makes this device to use wwan_noarp_info struct > > Signed-off-by: Daniele Palmas Bjorn, can you take a quick look at this? Thank you. -- To unsubscribe

Re: [PATCH] usb: phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar

2016-03-31 Thread Rafał Miłecki
On 30 March 2016 at 12:55, Felipe Balbi wrote: > Rafał Miłecki writes: >> [ text/plain ] >> On 30 March 2016 at 12:13, Felipe Balbi wrote: >>> Rafał Miłecki writes: Northstar is a family of SoCs used in home routers. They have USB 2.0 and 3.0 controllers with PHYs that need to be prop

Re: [PATCH 1/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread Bjørn Mork
David Miller writes: > From: Daniele Palmas > Date: Thu, 31 Mar 2016 15:16:47 +0200 > >> Telit LE910 V2 is a mobile broadband card with no ARP capabilities: >> the patch makes this device to use wwan_noarp_info struct >> >> Signed-off-by: Daniele Palmas > > Bjorn, can you take a quick look at t

Re: [PATCH 1/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread David Miller
From: Bjørn Mork Date: Thu, 31 Mar 2016 23:07:30 +0200 > David Miller writes: >> From: Daniele Palmas >> Date: Thu, 31 Mar 2016 15:16:47 +0200 >> >>> Telit LE910 V2 is a mobile broadband card with no ARP capabilities: >>> the patch makes this device to use wwan_noarp_info struct >>> >>> Signed

Re: [RFT PATCH 0/4] usb: dwc2: Fix core reset and force mode delay problems

2016-03-31 Thread Michael Niewoehner
Hi John, Am 29.03.2016 um 04:36 schrieb John Youn : > Hi, > > The following patch series addresses the core reset and force mode > delay problems we have been seeing on dwc2 for some platforms. > > I think I have identified the source of the inconsistencies between > platforms and this series a

Re: [PATCH v3 15/16] usb: musb: da8xx: Use devm in probe

2016-03-31 Thread Bin Liu
Hi, On Thu, Mar 24, 2016 at 06:51:40PM -0500, David Lechner wrote: > Simplify things a bit by using devm functions where possible. > > Signed-off-by: David Lechner > --- > > v3 changes: > > * Kept clk variable to minimize noise. > > > drivers/usb/musb/da8xx.c | 19 +-- > 1 f

Re: [PATCH v3 15/16] usb: musb: da8xx: Use devm in probe

2016-03-31 Thread David Lechner
On 03/31/2016 05:21 PM, Bin Liu wrote: - glue = kzalloc(sizeof(*glue), GFP_KERNEL); + glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); if (!glue) { dev_err(&pdev->dev, "failed to allocate glue context\n"); - goto err0; +

RE: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-31 Thread Rajesh Bhagat
> -Original Message- > From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com] > Sent: Thursday, March 31, 2016 8:07 PM > To: Rajesh Bhagat > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; linux- > ker...@vger.kernel.org; Sriram Dash > Subject: Re: [PATCH] usb: xhci: Fix

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-31 Thread Felipe Balbi
Hi, Bin Liu writes: >> >> Felipe Balbi writes: >> >> > Bin Liu writes: >> >> >> On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: >> >> >>> >> >> >>> Hi, >> >> >>> >> >> >>> Bin Liu writes: >> >> >>> > [ text/plain ] >> >> >>> > Hi, >> >> >>> > >> >> >>> > On Fri, Mar 11, 2016 a

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Felipe Balbi
Hi, Mark Brown writes: > On Thu, Mar 31, 2016 at 09:42:58AM +0300, Felipe Balbi wrote: >> Baolin Wang writes: > >> > I want to use bus structure to manage the charger device. Maybe choose >> > class to manage them? > >> I guess a class would fit better in this case. > > IIRC Greg didn't want ne

[PATCH] usb: host: focus the development community's efforts

2016-03-31 Thread Felipe Balbi
Linux has been growing larger and adopting more and more users. In order to streamline the development process, I propose that we focus USB efforts on XHCI alone, which is the HCD of the future. Anybody still using non-XHCI USB Host Controllers should either buy an XHCI PCIe card to talk to their

Re: [PATCH] usb: host: focus the development community's efforts

2016-03-31 Thread Felipe Balbi
Hi, Felipe Balbi writes: > Linux has been growing larger and adopting more and > more users. In order to streamline the development > process, I propose that we focus USB efforts on XHCI > alone, which is the HCD of the future. > > Anybody still using non-XHCI USB Host Controllers > should eithe

Re: [PATCH] usb: host: focus the development community's efforts

2016-03-31 Thread Bin Liu
On Fri, Apr 1, 2016 at 12:55 AM, Felipe Balbi wrote: > Linux has been growing larger and adopting more and > more users. In order to streamline the development > process, I propose that we focus USB efforts on XHCI > alone, which is the HCD of the future. > > Anybody still using non-XHCI USB Host