Re: usb stuff breaks after unplugging usb audio dongle

2016-11-12 Thread Dennis New
On Mon, 7 Nov 2016 15:31:11 +0100, Greg KH wrote: > On Mon, Nov 07, 2016 at 08:06:41AM -0500, Dennis New wrote: > > So, I have a USB audio dongle (currently using ohci, but the same > > would probably happen with ehci), and if I stupidly decide to > > unplug it while I'm streaming audio (alsa) to

Re: [PATCH 1/6] usb: musb: Fix broken use of static variable for multiple instances

2016-11-12 Thread Bin Liu
Hi, On Fri, Nov 11, 2016 at 10:42:57AM -0800, Tony Lindgren wrote: > We can't use static variable first for checking when musb is > initialized when we have multiple musb instances like on am335x. > > Tested-by: Ladislav Michl > Reviewed-by: Johan Hovold

[balbi-usb:testing/next 49/126] drivers/usb/dwc3/dwc3-st.c:328:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state'

2016-11-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next head: 09391e48e580b08475c8742b74f69bde7d6fa1f9 commit: ba1773fb7de92498d3cd51a1cb5a8855b8996912 [49/126] usb: dwc3: Kconfig: allow all glues to build if COMPILE_TEST config: s390-allyesconfig (attached as

Re: [PATCH net 2/2] r8152: rx descriptor check

2016-11-12 Thread Mark Lord
On 16-11-11 07:13 AM, Francois Romieu wrote: > Hayes Wang : >> For some platforms, the data in memory is not the same with the one >> from the device. That is, the data of memory is unbelievable. The >> check is used to find out this situation. > > Invalid packet size

Re: [PATCH] usb : Free previuos allocated memory when function call fails

2016-11-12 Thread Souptick Joarder
Ok, I will drop this patch. On Tue, Nov 8, 2016 at 9:06 PM, Alan Stern wrote: > On Tue, 8 Nov 2016, Souptick Joarder wrote: > >> In usb_parse_interface() when usb_parse_endpoint() fails it returns >> error whithout freeing alt->endpoint and we may have a memory leak.

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-12 Thread Thomas Gleixner
On Sat, 12 Nov 2016, Lu Baolu wrote: > On 11/11/2016 08:28 PM, Peter Zijlstra wrote: > > Again, a UART rules. Make a virtual UART in hardware, that'd be totally > > awesome. This thing, I'm not convinced its worth having. > > This is the initial work. It helps at least in cases where people need

[PATCH] usb: twl6030-usb: make driver DT only

2016-11-12 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code Signed-off-by: Nicolae Rosia --- drivers/usb/phy/Kconfig | 1 + drivers/usb/phy/phy-twl6030-usb.c | 23 ++- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git

[PATCH] phy: twl4030-usb: make driver DT only

2016-11-12 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code Signed-off-by: Nicolae Rosia --- drivers/phy/Kconfig | 1 + drivers/phy/phy-twl4030-usb.c | 22 +++--- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git

[PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE()

2016-11-12 Thread Fabian Frederick
Signed-off-by: Fabian Frederick --- drivers/usb/phy/phy-isp1301-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c index 8d111ec..042c5a8 100644 ---