[PATCH] net: usb: Fix memory leak on Tx data path

2012-10-25 Thread Hemant Kumar
Driver anchors the tx urbs and defers the urb submission if a transmit request comes when the interface is suspended. Anchoring urb increments the urb reference count. These deferred urbs are later accessed by calling usb_get_from_anchor() for submission during interface resume. usb_get_from_anchor

Re: [PATCH v3 1/3] usb: dwc3: Add the suspend/resume functionality

2012-10-25 Thread Vikas Sajjan
Hi Felipe, On 18 October 2012 22:59, Felipe Balbi wrote: > Hi, > > On Thu, Oct 18, 2012 at 12:44:50PM -0400, Alan Stern wrote: >> On Thu, 18 Oct 2012, Sarah Sharp wrote: >> >> > For system suspend while the DW3 hardware is in host mode, doesn't the >> > USB core prevent drivers from submitting UR

Re: (BUG) qmi-wwan bug

2012-10-25 Thread Bjørn Mork
"Shawn J. Goff" writes: > On 10/25/2012 03:40 AM, Bjørn Mork wrote: > >> Which IMHO points to the firmware implementation as the major >> difference. > Just to be sure: are you talking about the modem's firmware? Yes > After the failure happens, I can see from USB traces (and this is with > an e

Re: [PATCH] bas_gigaset: fix pre_reset handling

2012-10-25 Thread David Miller
From: Tilman Schmidt Date: Wed, 24 Oct 2012 20:44:32 +0200 > The delayed work function int_in_work() may call usb_reset_device() > and thus, indirectly, the driver's pre_reset method. Trying to > cancel the work synchronously in that situation would deadlock. > Fix by avoiding cancel_work_sync()

Re: USB isochronous frame lost

2012-10-25 Thread Stefan May
it seems that data are interpreted differently. While the host is getting tons of -71 errors, data is passed to vmware correctly. I've attached two traces that I ran simultaneously on the host and the guest. One thing that I noticed is that the same camera is setting different video standards

Re: [PATCH 1/3] usb: musb: drop useless board_mode usage

2012-10-25 Thread Felipe Balbi
Hi, On Fri, Oct 26, 2012 at 12:32:46AM +0100, Grant Likely wrote: > On Thu, Oct 25, 2012 at 11:58 AM, Felipe Balbi wrote: > > Hi, > > > > On Thu, Oct 25, 2012 at 10:19:19AM +, Grant Likely wrote: > >> Felipe Balbi writes: > >> > >> > > >> > we are compiling the driver always with full OTG >

Re: Endpoint is not halted

2012-10-25 Thread Shimmer Huang
Sarah, We've found the TD_size issue when developing a new XHCI host controller also: 1. need fix xhci_td_remainder() and xhci_v1_0_td_remainder() 2. we need to use DIV_ROUND_UP() instead of roundup() when we calculating total_packet_count . As in recent kernel versions, roundup() is defined as f

<    1   2