Re: [PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 03/09/15 18:44, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 03:21:48PM +0300, Roger Quadros wrote: + dwc->fsm->id = id; + dwc->fsm->b_sess_vld = vbus; + usb_otg_sync_inputs(dwc->fsm); +} + +stat

Re: [PATCH v4 4/9] usb: dwc3: core: Adapt to named interrupts

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 03/09/15 18:48, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 03:46:43PM +0300, Roger Quadros wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> On 02/09/15 17:34, Felipe Balbi wrote: >>> On Wed, Sep 02, 2015 at 05:24

Re: [PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/09/15 18:51, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 04:52:02PM +0300, Roger Quadros wrote: if (on) { - dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_HOST); + /* OCTL.PeriMode = 0 */ + reg

[PATCH] lan78xx: Fix ladv/radv error handling in lan78xx_link_reset()

2015-09-04 Thread Geert Uytterhoeven
net/usb/lan78xx.c: In function ‘lan78xx_link_reset’: net/usb/lan78xx.c:1107: warning: comparison is always false due to limited range of data type net/usb/lan78xx.c:: warning: comparison is always false due to limited range of data type Assigning return values that can be negative error code

[PATCH] gadget: added besl support

2015-09-04 Thread Joao Pinto
When testing the Synopsys DWC USB 3.0 Device IP, Compliant Tests are run for USB 3.0 and USB 2.0. An issue was found regarding the USB 2.0 CV Chapter 9 test: LPM L1 Suspend Resume Test. For it to be successful it is necessary to add besl support to the gadget driver and set the deep besl and ba

[PATCH] usb: gadget: amd5536udc: fix NULL pointer dereference

2015-09-04 Thread Sudip Mukherjee
We were checking if dev->regs is NULL but it was done after dereferencing it. Lets reset the controller and iounmap dev->regs only if it is not NULL. free_irq() does not need dev->regs, so unmaping it before freeing the irq should not matter. Signed-off-by: Sudip Mukherjee --- drivers/usb/gadget

Re: [PATCH] gadget: added besl support

2015-09-04 Thread John Youn
On 9/4/2015 3:58 AM, Joao Pinto wrote: > When testing the Synopsys DWC USB 3.0 Device IP, Compliant Tests are run > for USB 3.0 and USB 2.0. An issue was found regarding the USB 2.0 CV > Chapter 9 test: LPM L1 Suspend Resume Test. For it to be successful it > is necessary to add besl support to

Re: [PATCH] gadget: added besl support

2015-09-04 Thread Felipe Balbi
On Fri, Sep 04, 2015 at 11:57:47AM +0100, Joao Pinto wrote: > When testing the Synopsys DWC USB 3.0 Device IP, Compliant Tests are run > for USB 3.0 and USB 2.0. An issue was found regarding the USB 2.0 CV > Chapter 9 test: LPM L1 Suspend Resume Test. For it to be successful it > is necessary to

"Tell linux-usb@vger.kernel.org to add your device to a proper driver"

2015-09-04 Thread Katarína Križáni
Hello, This is info about Our serial to USB adapter Vivanco 23425: it only enabled once-off file transfer. [ 55.212492] usb 3-1: new full-speed USB device number 2 using ohci-pci [ 55.379676] usb 3-1: New USB device found, idVendor=067b, idProduct=2303 [ 55.379682] usb 3-1: New USB device

Re: "Tell linux-usb@vger.kernel.org to add your device to a proper driver"

2015-09-04 Thread Greg KH
On Fri, Sep 04, 2015 at 07:03:06PM +, Katarína Križáni wrote: > Hello, > > This is info about Our serial to USB adapter Vivanco 23425: it only enabled > once-off file transfer. > > [ 55.212492] usb 3-1: new full-speed USB device number 2 using ohci-pci > [ 55.379676] usb 3-1: New USB dev

"Tell linux-usb@vger.kernel.org to add your device to a proper driver"

2015-09-04 Thread Katarína Križáni
So how should I install it correctly so that it "just runs" on Ubuntu? I did it first time: I am learning. -- 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/majordomo-info.htm

Re: "Tell linux-usb@vger.kernel.org to add your device to a proper driver"

2015-09-04 Thread Greg KH
On Fri, Sep 04, 2015 at 08:47:40PM +, Katarína Križáni wrote: > So how should I install it correctly so that it "just runs" on Ubuntu? I did > it first time: I am learning. Install what? The driver should "just work", no need to install anything, just plug the device in and the driver will b

"Tell linux-usb@vger.kernel.org to add your device to a proper driver"

2015-09-04 Thread Katarína Križáni
"Why did you add a device id to the usb-serial generic driver module option?" Do you mean why did I edited /etc/modules/? Followed incorrect information. So for it to "just run" do I now have to edit any file (remove the ids)? KK -- To unsubscribe from this list: send the line "unsubscribe linux

Re: "Tell linux-usb@vger.kernel.org to add your device to a proper driver"

2015-09-04 Thread Greg KH
On Fri, Sep 04, 2015 at 09:10:02PM +, Katarína Križáni wrote: > "Why did you add a device > id to the usb-serial generic driver module option?" Very odd quoting style :( > Do you mean why did I edited /etc/modules/? Followed incorrect > information. So for it to "just run" do I now have to ed