Re: [git pull] gadgetfs fixes

2015-03-15 Thread Alexander Holler
Am 15.03.2015 um 09:17 schrieb Al Viro: On Sun, Mar 15, 2015 at 07:35:20AM +0100, Alexander Holler wrote: Umm... If I'm not misparsing what you said, you are talking about the Glücklicherweise nicht. Vielleicht sollten wir es zur Abwechslung mal mit meiner bevorzugten Sprache versuchen.

Re: [git pull] gadgetfs fixes

2015-03-15 Thread Al Viro
On Sun, Mar 15, 2015 at 09:50:01AM +0100, Alexander Holler wrote: Hmm, a year ago or so I've stumbled over the fact that the owner might be necessary for correct entries in sysfs (that was mtd). I've no idea if that's true here too but it might be worse to mention it. There are two

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-15 Thread Alistair Grant
On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu baolu...@linux.intel.com wrote: When a device with an isochronous endpoint is plugged into the Intel xHCI host controller, and the driver submits multiple frames per URB, the

[PATCH] xhci: match return type of wait_for_completion_timeout

2015-03-15 Thread Nicholas Mc Guire
Return type of wait_for_completion_timeout is unsigned long not int. As time_left is exclusively used for wait_for_completion_timeout here its type is simply changed to unsigned long. Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- Patch was only compile tested with x86_64_defconfig +

Re: [PATCH 0/2] serial: 8250_pci: Fintek products patches

2015-03-15 Thread Greg KH
On Fri, Mar 13, 2015 at 10:00:11AM +0800, Peter Hung wrote: These series patches works for Fintek F81504/F81508/F81512 PCI to Serial Port. and patch 0002 is following with patch 0001. patch 0001 is just cleanup non-used source code. patch 0002 is major patch. The serial port of our

Re: [git pull] gadgetfs fixes

2015-03-15 Thread Al Viro
On Sun, Mar 15, 2015 at 07:35:20AM +0100, Alexander Holler wrote: Umm... If I'm not misparsing what you said, you are talking about the Glücklicherweise nicht. Vielleicht sollten wir es zur Abwechslung mal mit meiner bevorzugten Sprache versuchen. Good. I'll probably abstain from trying

Re: [PATCH v3 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-15 Thread Alistair Grant
On Fri, Mar 13, 2015 at 1:54 AM, Lu Baolu baolu...@linux.intel.com wrote: ... This patch is to apply XHCI_AVOID_BEI quirk to Intel xHC devices. And it should be backported to kernels as old as 3.0, that contains the commit 69e848c2090a (Intel xhci: Support EHCI/xHCI port switching.).

Re: [git pull] gadgetfs fixes

2015-03-15 Thread Alexander Holler
Am 15.03.2015 um 02:39 schrieb Al Viro: On Sun, Mar 15, 2015 at 01:39:21AM +0100, Alexander Holler wrote: Am 13.03.2015 um 17:42 schrieb Al Viro: Assorted fixes around AIO on gadgetfs: leaks, use-after-free, troubles caused by -f_op flipping. Please, pull from

Re: [git pull] gadgetfs fixes

2015-03-15 Thread Alexander Holler
Am 15.03.2015 um 09:17 schrieb Al Viro: Another question, if you don't mind - does that series (i.e. what's currently in Linus' tree) fix the module refcount issues you'd been seeing? I agree with your analysis of likely cause (-f_op reassignments with different -owner before and after) and

[PATCH] uwb: Remove umc bus legacy suspend/resume support

2015-03-15 Thread Lars-Peter Clausen
There are currently no umc drivers implementing suspend/resume, so remove the legacy suspend/resume support from the framework. If a umc driver ever wants to implement suspend/resume they can use dev_pm_ops, which works out of the box without any additional support necessary from the bus itself.

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-15 Thread Alistair Grant
On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu baolu...@linux.intel.com wrote: When a device with an isochronous endpoint is plugged into the

Re: [PATCH v4 5/5] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-03-15 Thread Ruslan Bilovol
HI Alan, On Fri, Mar 13, 2015 at 4:39 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 12 Mar 2015, Ruslan Bilovol wrote: Change behavior during registration of gadgets and gadget drivers in udc-core. Instead of previous approach when for successful probe of usb gadget driver at

Re: [PATCH 0/2] serial: 8250_pci: Fintek products patches

2015-03-15 Thread Peter Hung
Hello, Greg KH 於 2015/3/15 下午 05:25 寫道: Why did you cc: the linux-usb@vger mailing list on these? Don't you mean linux-serial@vger? Sorry for my fault. Should I resend it with correct mail-list with V2 ?? or just send this series patches ? Thanks -- With Best Regards, Peter Hung -- To

Re: [PATCH v2 2/5] usb: chipidea: udc: add OTG status request handling

2015-03-15 Thread Peter Chen
On Fri, Mar 13, 2015 at 10:34:59AM -0500, Felipe Balbi wrote: On Fri, Mar 13, 2015 at 11:13:11AM +0800, Peter Chen wrote: On Thu, Mar 12, 2015 at 11:04:09AM -0500, Felipe Balbi wrote: Hi, On Thu, Mar 12, 2015 at 10:30:21AM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com

Re: [PATCH V8 02/10] USB: f81232: implement RX bulk-in EP

2015-03-15 Thread Peter Hung
Hello, Johan Hovold 於 2015/3/14 下午 07:48 寫道: On Thu, Feb 26, 2015 at 06:02:08PM +0800, Peter Hung wrote: - if (!urb-actual_length) + if ((urb-actual_length 2) || (urb-actual_length % 2)) return; Not parsing short data (e.g. not divisible by 2) is OK I guess. You

Re: [PATCH V8 04/10] USB: f81232: implement read IIR/MSR with endpoint

2015-03-15 Thread Peter Hung
Hello, Johan Hovold 於 2015/3/14 下午 08:02 寫道: On Thu, Feb 26, 2015 at 06:02:10PM +0800, Peter Hung wrote: + if (status != sizeof(*val)) { + dev_err(port-dev, %s failed status: %d\n, __func__, status); + + if (status == 0) + status = -EIO;

Re: Driver problem with USB chipset VIA VL812-B2

2015-03-15 Thread wseverin
Tested with 4.0-rc4. Problem persists exactly as earlier versions. This is a potentially serious issue. Plugging common external USB 3.0 hubs into the host USB 3.0 hub on a very popular HP laptop, using a very popular AMD chipset, locks up a CPU. So far, over 3 weeks, no acknowledgement. I'd be

Re: [PATCH 00/19] usb: third series of updates for dwc2 driver

2015-03-15 Thread zhangfei
On 03/09/2015 11:04 PM, Mian Yousaf Kaukab wrote: Hi, This patchset consists of some bug fixes and feature enhancements for the dwc2 driver. All the patches are verified on dwc2 v3.0a with dedicated fifos. Main focus of testing was with dma enabled. Although basic testing without dma was also

Re: [PATCH v2 2/5] usb: chipidea: udc: add OTG status request handling

2015-03-15 Thread Peter Chen
On Fri, Mar 13, 2015 at 09:41:13PM +0800, Li Jun wrote: On Fri, Mar 13, 2015 at 11:01:47AM +0800, Peter Chen wrote: On Thu, Mar 12, 2015 at 10:30:21AM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com Peripheral answers OTG status selector request from host according to

[PATCH] USB: ftdi_sio: Added custom PID for Synapse Wireless product

2015-03-15 Thread Doug Goldstein
Synapse Wireless uses the FTDI VID with a custom PID of 0x9090 for their SNAP Stick 200 product. Signed-off-by: Doug Goldstein car...@cardoe.com --- drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio_ids.h | 6 ++ 2 files changed, 7 insertions(+) diff --git