RE: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-09-23 Thread Subbaraya Sundeep Bhatta
Hi Nathan and Peter, Is this patch applied? Please let me know I have some other patches to send on top of this. Thanks, Sundeep > -Original Message- > From: Subbaraya Sundeep Bhatta > Sent: Tuesday, September 01, 2015 12:22 PM > To: 'Peter Chen'; Punnaiah Choudary Kalluri > Cc: Nathan

RE: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-09-23 Thread Subbaraya Sundeep Bhatta
Please ignore got the answer. > -Original Message- > From: Subbaraya Sundeep Bhatta > Sent: Wednesday, September 23, 2015 12:29 PM > To: 'Peter Chen'; Punnaiah Choudary Kalluri > Cc: 'Nathan Sullivan'; 'sundeep subbaraya'; 'robh...@kernel.org'; > 'pawel.m...@arm.com'; 'Mark Rutland'; 'ijc+

Re: [PATCH 3/3] usb: gadget: f_midi: free request when usb_ep_queue fails

2015-09-23 Thread Peter Chen
On Tue, Sep 22, 2015 at 07:59:10PM +0100, Felipe F. Tonello wrote: > This fix a memory leak that will occur in this case. > > Signed-off-by: Felipe F. Tonello > --- > drivers/usb/gadget/function/f_midi.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/usb/gad

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread Scott Branden
Hi John, Could you please review the v3 Patch. I believe we have address all of your comments? On 15-09-10 06:13 PM, Scott Branden wrote: This patch contains a fix for a real world interop problem found when using the Synopsis DWC2 USB controller with isochronous audio as detailed in the com

RE: [PATCH v2 14/32] usb: dwc2: host: wait 3ms for controller stabilization

2015-09-23 Thread Kaukab, Yousaf
> -Original Message- > From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] > Sent: Tuesday, September 22, 2015 9:42 PM > To: Kaukab, Yousaf; linux-usb@vger.kernel.org; ba...@ti.com; > john.y...@synopsys.com; Herrero, Gregory > Cc: he...@sntech.de; diand...@chromium.org; r.bald

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread John Youn
On 9/23/2015 12:36 AM, Scott Branden wrote: > Hi John, > > Could you please review the v3 Patch. I believe we have address all of > your comments? > Yes I've been meaning to test it on our platforms. I should be able to get to it tomorrow. Regards, John -- To unsubscribe from this list: send

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread John Youn
On 9/23/2015 1:11 AM, John Youn wrote: > On 9/23/2015 12:36 AM, Scott Branden wrote: >> Hi John, >> >> Could you please review the v3 Patch. I believe we have address all of >> your comments? >> > > Yes I've been meaning to test it on our platforms. I should be > able to get to it tomorrow. >

Re: request to add information for USB 3G dongle

2015-09-23 Thread Bjørn Mork
Rolf Leggewie writes: > Hello, > > I found the following in my syslog. > > Aug 2 22:16:01 localhost usb_modeswitch[7313]: usb_modeswitch: switched > to 19d2:0063 on 2/18 > Aug 2 22:16:02 localhost usb_modeswitch[7313]: usb_modeswitch: add > device ID 19d2:0063 to driver option > Aug 2 22:16:02

Re: First kernel patch (optimization)

2015-09-23 Thread Alexander Holler
Am 20.09.2015 um 12:41 schrieb Alexander Holler: Am 20.09.2015 um 04:21 schrieb Theodore Ts'o: As far as what you want to do next, you have a personal "proof of concept" patch that seems to work well enough for you. Great! I'm sure you can keep using it for your own purposes. If you can con

signals causing errors in stable tree in XHCI driver

2015-09-23 Thread Oliver Neukum
Hi, I looked at xhci_configure_endpoint() in the stable tree. There is a serious bug: /* Wait for the configure endpoint command to complete */ timeleft = wait_for_completion_interruptible_timeout( ^ -ERESTARTSYS in the signal case cmd_completion,

[PATCH v2] media: uvcvideo: handle urb completion in a tasklet

2015-09-23 Thread Mian Yousaf Kaukab
urb completion callback is executed in either host controllers interrupt context or a tasklet (if hcd has set HCD_BH flag). If hcd is calling urb->complete from interrupt context, to keep preempt disable time short, add urbs to a list on completion and schedule a tasklet to process the list. More

[hid:for-4.4/debugfs-fixes 1/1] drivers/hid/hid-debug.c:1281:2-26: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Mayb

2015-09-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-4.4/debugfs-fixes head: 9c537bf6cad4782573d873674a267c7cdc842ac9 commit: 9c537bf6cad4782573d873674a267c7cdc842ac9 [1/1] HID: debug: Check result of debugfs_create_dir() and debugfs_create_file() coccinelle warnings: (ne

Re: MIDI gadget allocating too much from coherent pool

2015-09-23 Thread Felipe Tonello
Hi Peter, On Wed, Sep 23, 2015 at 4:09 AM, Peter Chen wrote: > On Tue, Sep 22, 2015 at 07:51:34PM +0100, Felipe Tonello wrote: >> Hi all, >> >> On Tue, Sep 22, 2015 at 10:13 AM, Felipe Tonello >> wrote: >> > Hi Peter, >> > >> > On Tue, Sep 22, 2015 at 8:03 AM, Peter Chen >> > wrote: >> >> On

Re: [PATCH 3/3] usb: gadget: f_midi: free request when usb_ep_queue fails

2015-09-23 Thread Felipe Tonello
Hi Peter, On Wed, Sep 23, 2015 at 8:09 AM, Peter Chen wrote: > On Tue, Sep 22, 2015 at 07:59:10PM +0100, Felipe F. Tonello wrote: >> This fix a memory leak that will occur in this case. >> >> Signed-off-by: Felipe F. Tonello >> --- >> drivers/usb/gadget/function/f_midi.c | 4 +++- >> 1 file cha

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Felipe Tonello
Hi Peter, On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: >> req->actual == req->length means that there is no data left to enqueue, >> so free the request. >> >> Signed-off-by: Felipe F. Tonello >> --- >> drivers/usb/gadge

Re: MIDI gadget allocating too much from coherent pool

2015-09-23 Thread Felipe Tonello
On Wed, Sep 23, 2015 at 12:39 PM, Felipe Tonello wrote: > Hi Peter, > > On Wed, Sep 23, 2015 at 4:09 AM, Peter Chen wrote: >> On Tue, Sep 22, 2015 at 07:51:34PM +0100, Felipe Tonello wrote: >>> Hi all, >>> >>> On Tue, Sep 22, 2015 at 10:13 AM, Felipe Tonello >>> wrote: >>> > Hi Peter, >>> > >>>

[PATCH v2 1/3] usb: chipidea: core: fix when building without CONFIG_PM support

2015-09-23 Thread Felipe F. Tonello
If CONFIG_PM or CONFIG_PM_SLEEP is not set, driver will not compile properly. Signed-off-by: Felipe F. Tonello --- Changes for v2: * removed unnecessary #ifdef CONFIG_PM_SLEEP. drivers/usb/chipidea/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/chipi

[PATCH v2 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Felipe F. Tonello
req->actual == req->length means that there is no data left to enqueue, so free the request. Signed-off-by: Felipe F. Tonello --- Changes in v2: * Re enqueue not fully completed requests, instead of read ALSA buffers. drivers/usb/gadget/function/f_midi.c | 10 ++ 1 file changed, 6 ins

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-23 Thread Andrew Feldhaus
On 22/09/2015 22:25, Roland Weber wrote: But there's also a guy who reports that external USB drives are no longer detected during boot after he updated the BIOS to v1.10. http://community.acer.com/t5/E-and-M-Series/Acer-ES1-111M-doesn-t-detect-USB-Drives-at-boot-phase-anymore/td-p/364139 Frankl

[RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-09-23 Thread Subbaraya Sundeep Bhatta
This patch adds binding doc info for generic ULPI PHYs platform driver. Signed-off-by: Subbaraya Sundeep Bhatta --- .../devicetree/bindings/usb/ulpi-platform-phy.txt | 34 1 files changed, 34 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindi

[RFC PATCH 2/2] usb: phy: Add platform driver support for ULPI PHYs

2015-09-23 Thread Subbaraya Sundeep Bhatta
Based on board design USB controller needs explicit software access to ULPI PHY for controlling VBUS. This patch adds platform driver support for generic ULPI PHYs and provides a USB2 PHY device to controllers. Signed-off-by: Subbaraya Sundeep Bhatta --- drivers/usb/phy/Kconfig | 1

Re: [PATCH v2 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Sergei Shtylyov
Hello. On 9/23/2015 3:01 PM, Felipe F. Tonello wrote: req->actual == req->length means that there is no data left to enqueue, so free the request. Signed-off-by: Felipe F. Tonello --- Changes in v2: * Re enqueue not fully completed requests, instead of read ALSA buffers. drivers/usb/gad

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Alan Stern
On Wed, 23 Sep 2015, Felipe Tonello wrote: > Hi Peter, > > On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: > > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: > >> req->actual == req->length means that there is no data left to enqueue, > >> so free the request. > >> > >> Si

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Felipe Tonello
Hi Alan, On Wed, Sep 23, 2015 at 3:30 PM, Alan Stern wrote: > On Wed, 23 Sep 2015, Felipe Tonello wrote: > >> Hi Peter, >> >> On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: >> > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: >> >> req->actual == req->length means that the

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-23 Thread Alan Stern
On Tue, 22 Sep 2015, Roland Weber wrote: > Hi Alan, > > > Did you turn off the computer before booting these kernels (i.e., a > > "cold" boot) or did you reboot when the machine was already running (a > > "warm" boot)? > > I didn't pay attention to that. Most likely, I prepared the debug session

Re: [Bug 11159] reset high speed USB device using ehci_hcd

2015-09-23 Thread Alan Stern
On Wed, 23 Sep 2015 bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=11159 > > KES777 changed: > >What|Removed |Added > > CC|

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread Scott Branden
On 15-09-23 01:18 AM, John Youn wrote: On 9/23/2015 1:11 AM, John Youn wrote: On 9/23/2015 12:36 AM, Scott Branden wrote: Hi John, Could you please review the v3 Patch. I believe we have address all of your comments? Yes I've been meaning to test it on our platforms. I should be able to ge

Re: [PATCH 2/3] usb: gadget: at91_udc: mention proper dependency

2015-09-23 Thread Sudip Mukherjee
On Mon, Sep 21, 2015 at 04:40:57PM +0530, Sudip Mukherjee wrote: > On Sun, Sep 20, 2015 at 11:15:28AM -0500, Felipe Balbi wrote: > > On Sat, Sep 19, 2015 at 10:42:58PM +0530, Sudip Mukherjee wrote: > > > While building allmodconfig on avr32 the build failed with the error: > > > "at91_pmc_base" [dr

Re: [PATCH 1/3] avr32: fix build failure

2015-09-23 Thread Sudip Mukherjee
On Mon, Sep 21, 2015 at 01:31:44PM +0530, Sudip Mukherjee wrote: > On Mon, Sep 21, 2015 at 09:33:00AM +0200, Hans-Christian Egtvedt wrote: > > Around Mon 21 Sep 2015 12:09:01 +0530 or thereabout, Sudip Mukherjee wrote: > > > On Mon, Sep 21, 2015 at 08:09:42AM +0200, Hans-Christian Egtvedt wrote: >

Re: [PATCH 2/4] doc: dt-binding: ci-hdrc-usb2: add i.mx specific binding "need-three-clocks"

2015-09-23 Thread Rob Herring
On Thu, Sep 17, 2015 at 9:35 PM, Peter Chen wrote: > On Wed, Sep 16, 2015 at 08:54:25AM -0500, Rob Herring wrote: >> On 09/15/2015 08:49 PM, Peter Chen wrote: >> > Some SoCs needs three clock to let controller work, but others only >> > need one, add one property to differentiate this. [...] >>

Re: [PATCH v4] usb: of: add an api to get dr_mode by the phy node

2015-09-23 Thread Bin Liu
Hi, On 09/22/2015 04:18 PM, Felipe Balbi wrote: On Tue, Sep 22, 2015 at 02:31:18PM -0500, Bin Liu wrote: Hi, On 09/22/2015 09:40 AM, Felipe Balbi wrote: On Mon, Sep 21, 2015 at 10:50:56AM -0500, Bin Liu wrote: Some USB phy drivers have different handling for the controller in each dr_mode. B

Re: [PATCH 1/3] avr32: fix build failure

2015-09-23 Thread Hans-Christian Egtvedt
Around Wed 23 Sep 2015 21:26:01 +0530 or thereabout, Sudip Mukherjee wrote: > On Mon, Sep 21, 2015 at 01:31:44PM +0530, Sudip Mukherjee wrote: >> On Mon, Sep 21, 2015 at 09:33:00AM +0200, Hans-Christian Egtvedt wrote: >> > Around Mon 21 Sep 2015 12:09:01 +0530 or thereabout, Sudip Mukherjee wrote:

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread John Youn
On 9/23/2015 8:39 AM, Scott Branden wrote: > On 15-09-23 01:18 AM, John Youn wrote: >> On 9/23/2015 1:11 AM, John Youn wrote: >>> On 9/23/2015 12:36 AM, Scott Branden wrote: Hi John, Could you please review the v3 Patch. I believe we have address all of your comments? >>>

[PATCH] USB: whiteheat: fix potential null-deref at probe

2015-09-23 Thread Johan Hovold
Fix potential null-pointer dereference at probe by making sure that the required endpoints are present. The whiteheat driver assumes there are at least five pairs of bulk endpoints, of which the final pair is used for the "command port". An attempt to bind to an interface with fewer bulk endpoints

Re: [PATCH v4] usb: of: add an api to get dr_mode by the phy node

2015-09-23 Thread Hans de Goede
Hi, On 23-09-15 19:10, Bin Liu wrote: Hi, On 09/22/2015 04:18 PM, Felipe Balbi wrote: On Tue, Sep 22, 2015 at 02:31:18PM -0500, Bin Liu wrote: Hi, On 09/22/2015 09:40 AM, Felipe Balbi wrote: On Mon, Sep 21, 2015 at 10:50:56AM -0500, Bin Liu wrote: Some USB phy drivers have different handli

Overly conservative xHCI bandwidth estimation

2015-09-23 Thread Steinar H. Gunderson
Hi again, I'm trying to figure out why my xHCI controller refuses me to run two very similar video cards at the same time. I'm not sure if this is a bug or if I'm just misunderstanding, so let me see if I understand this right: The interface of each card has two relevant alternates, 2 and 4. Numb

Re[2]: [Bug 11159] reset high speed USB device using ehci_hcd

2015-09-23 Thread Eugen Konkov
Hi, Alan. I can try, but this seems the escape from problem and not solution ((( 3.13 is not going to be updated anymore?? Вы писали 23 сентября 2015 г., 12:12:59: AS> On Wed, 23 Sep 2015 bugzilla-dae...@bugzilla.kernel.org wrote: >> https://bugzilla.kernel.org/show_bug.cgi?id=11159 >> KES777

Re: [PATCH v4] usb: of: add an api to get dr_mode by the phy node

2015-09-23 Thread Bin Liu
Hi, On 09/23/2015 02:53 PM, Hans de Goede wrote: Hi, On 23-09-15 19:10, Bin Liu wrote: Hi, On 09/22/2015 04:18 PM, Felipe Balbi wrote: On Tue, Sep 22, 2015 at 02:31:18PM -0500, Bin Liu wrote: Hi, On 09/22/2015 09:40 AM, Felipe Balbi wrote: On Mon, Sep 21, 2015 at 10:50:56AM -0500, Bin Liu

Problems with printk logs and my driver

2015-09-23 Thread Eric Curtin
Hi Guys, Just wondering what I am doing wrong. I can't see my logs. I figured out what driver is used for my keyboard and started adding logging: [curtine@localhost ~]$ sudo lsusb -v | grep eyboard -B 13 Bus 001 Device 003: ID 04ca:008d Lite-On Technology Corp. Device Descriptor: bLength

Re: Problems with printk logs and my driver

2015-09-23 Thread Alan Stern
On Thu, 24 Sep 2015, Eric Curtin wrote: > Hi Guys, > > Just wondering what I am doing wrong. I can't see my logs. I figured > out what driver is used for my keyboard and started adding logging: > > [curtine@localhost ~]$ sudo lsusb -v | grep eyboard -B 13 > Bus 001 Device 003: ID 04ca:008d Lite-

Re: [PATCH v2 1/3] usb: chipidea: core: fix when building without CONFIG_PM support

2015-09-23 Thread Peter Chen
On Wed, Sep 23, 2015 at 12:56:58PM +0100, Felipe F. Tonello wrote: > If CONFIG_PM or CONFIG_PM_SLEEP is not set, driver will not compile > properly. > Would you post the warning or error messages? I just tried at v4.3-rc1 (v4.2 should be same), without any problems. Peter > Signed-off-by: Felip

Re: [PATCH 3/3] usb: gadget: f_midi: free request when usb_ep_queue fails

2015-09-23 Thread Peter Chen
On Wed, Sep 23, 2015 at 12:40:46PM +0100, Felipe Tonello wrote: > Hi Peter, > > On Wed, Sep 23, 2015 at 8:09 AM, Peter Chen wrote: > > On Tue, Sep 22, 2015 at 07:59:10PM +0100, Felipe F. Tonello wrote: > >> This fix a memory leak that will occur in this case. > >> > >> Signed-off-by: Felipe F. To

Re: [PATCH v2 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Peter Chen
On Wed, Sep 23, 2015 at 01:01:44PM +0100, Felipe F. Tonello wrote: > req->actual == req->length means that there is no data left to enqueue, > so free the request. > > Signed-off-by: Felipe F. Tonello > --- > > Changes in v2: > * Re enqueue not fully completed requests, instead of read ALSA buf

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread John Youn
On 9/10/2015 6:14 PM, Scott Branden wrote: > This patch contains a fix for a real world interop problem found > when using the Synopsis DWC2 USB controller with isochronous audio as > detailed in the commit message. > > Changes from v2: > - created s2c_hsotg_chage_ep_iso_parity function to call f

Re: Problems with printk logs and my driver

2015-09-23 Thread Jiri Kosina
On Wed, 23 Sep 2015, Alan Stern wrote: > Your mistake was thinking that the driver for your keyboard is usbkbd. > It isn't. It's usbhid, as you can see in the "lsusb -t" output above. As Eric is absolutely not the first person ever who got confused by this (and I can certainly understand the

Re: [PATCH v2 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Clemens Ladisch
Peter Chen wrote: > I can't make my aplaymidi to receive data > # aplaymidi > open /dev/snd/seq failed: No such file or directory modprobe snd-seq There are mechanisms to load it automatically, but your embedded system might not bother about any of them. Or CONFIG_SND_SEQUENCER isn't enabled at