Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Tue, Mar 17, 2015 at 12:10:41AM -0400, nick wrote: > > > On 2015-03-16 11:56 PM, nick wrote: > > > > > > On 2015-03-16 11:54 PM, Felipe Balbi wrote: > >> On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: > >>> > >>> > >>> On 2015-03-16 11:37 PM, Peter Chen wrote: > > > > >

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:56:26PM -0400, nick wrote: > > > On 2015-03-16 11:54 PM, Felipe Balbi wrote: > > On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: > >> > >> > >> On 2015-03-16 11:37 PM, Peter Chen wrote: > >>> > > Greetings All, > I have been getting the below buil

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: > > > On 2015-03-16 11:37 PM, Peter Chen wrote: > > > >> > >> Greetings All, > >> I have been getting the below build warnings: > >> drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: > >> drivers/usb/renesas_usbhs/common.c:48

Re: Build failure: -next 20150316

2015-03-16 Thread Felipe Balbi
Hi, On Mon, Mar 16, 2015 at 07:59:04PM +, Alan Cox wrote: > drivers/built-in.o: In function `dwc2_pci_remove': > /rotating/Kernel/next/drivers/usb/dwc2/pci.c:70: undefined reference to > `usb_phy_generic_unregister' drivers/built-in.o: In function > `dwc2_pci_probe': /rotating/Kernel/next/driv

RE: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Peter Chen
> > Greetings All, > I have been getting the below build warnings: > drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: > drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to > integer of different size [-Wpointer-to-int-cast] > dparam->type = of_id ? (u32)of_i

€950,000.00 EURO

2015-03-16 Thread Qatar Foundation
Liebe Begünstigte, Sie wurden ausgewählt, um € 950.000,00 EURO als Charity-Spenden / Hilfe der Qatar Foundation erhalten. Antworten zurück für weitere Informationen. Mit freundlichen Grüßen, Ingenieur Saad Al Muhannadi. Antwort auf: qf.qa...@gmail.com Präsident der Qatar Foundation. --- This

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-16 Thread Tony Lindgren
* Matthijs van Duin [150316 14:17]: > *gets increasingly confused* :) > The datasheet (sprs614e) only contains register addresses, and they > seem to match the TRM's USB chapter. The only disagreement I can spot > is related to USB_CTRL register(s) in the control module (offsets > 0x620 and 0x

Re: [PATCH v2 0/2] usb: dwc2: add support for big-endian Lantiq SoCs

2015-03-16 Thread John Youn
On 3/12/2015 9:53 AM, Antti Seppälä wrote: > Here are two patches needed to add support for mips based > big-endian SoCs made by Lantiq to dwc2 driver. > > The first patch converts the readl/writel io-accessors of dwc2 to > big-endian friendly versions and was discussed on the linux-usb ml > alrea

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

2015-03-16 Thread Peter Chen
On Mon, Mar 16, 2015 at 12:21:53PM -0500, Felipe Balbi wrote: > On Mon, Mar 16, 2015 at 05:34:43PM +0800, Li Jun wrote: > > On Mon, Mar 16, 2015 at 05:03:17PM +0800, Peter Chen wrote: > > > On Mon, Mar 16, 2015 at 04:15:22PM +0800, Li Jun wrote: > > > > On Mon, Mar 16, 2015 at 09:44:30AM +0800, Pet

Re: [PATCH RESEND] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread John Youn
On 3/16/2015 2:50 AM, Yunzhi Li wrote: > Hi >> When the HCD is disconnected, the DMA transfers still in-flight were >> cleaned-up >> but the count of available DMA channels (e.g. available_host_channels) was >> not >> reset. >> The pool of DMA channels can be depleted when doing unclean >> discon

Re: [PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-03-16 Thread Chanwoo Choi
Hi Ivan, On 03/16/2015 11:23 PM, Ivan T. Ivanov wrote: > > Hi Roger, > > On Mon, 2015-03-16 at 15:11 +0200, Roger Quadros wrote: >> Hi Ivan, >> >> On 16/03/15 14:32, Ivan T. Ivanov wrote: >>> Hi, >>> >>> On Mon, 2015-02-02 at 12:21 +0200, Roger Quadros wrote: This driver observes the USB I

Re: Driver problem with USB chipset VIA VL812-B2

2015-03-16 Thread Warren Severin
Oliver Neukum writes: > What exactly is running? Are you seeing spurious events > if you enable debugging. Does it occur if you run with > runtime PM disabled (usbcore.autosuspend=-1 on the kernel > command line)? > > Regards > Oliver Thanks, Oliver, • The running hardware

RE: [PATCH 01/19] usb: dwc2: move debugfs code to a separate file

2015-03-16 Thread Kaukab, Yousaf
> -Original Message- > From: John Youn [mailto:john.y...@synopsys.com] > Sent: Monday, March 16, 2015 6:31 PM > To: Kaukab, Yousaf; 'ba...@ti.com'; John Youn > Cc: linux-usb@vger.kernel.org; Herrero, Gregory; r.bald...@samsung.com; > dingu...@opensource.altera.com; zhangfei@linaro.org >

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-16 Thread Matthijs van Duin
*gets increasingly confused* The datasheet (sprs614e) only contains register addresses, and they seem to match the TRM's USB chapter. The only disagreement I can spot is related to USB_CTRL register(s) in the control module (offsets 0x620 and 0x628) where * the TRM claims both exist in the contro

Re: Bad DMA for ehci_qtd after suspend/resume cycle on Exynos7 (64-bit)

2015-03-16 Thread Alan Stern
On Thu, 22 Jan 2015, Vivek Gautam wrote: > Hi all, > > > While working on our test board with Exynos7 SoC, we see that across > suspend/resume (Suspend to RAM) the EHCI can't resume the devices connected > to HSIC phy properly. > We have been using 3.16 kernel for our development, but on the ehc

Re: USB 3.0 storage keep reconnecting after safely removed

2015-03-16 Thread Alan Stern
On Wed, 7 Jan 2015, Hans de Goede wrote: > Hi, > > On 07-01-15 16:19, Alan Stern wrote: > > On Tue, 6 Jan 2015, Taegil Bae wrote: > > > >> Hi all, > >> > >> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=90791 > >> > >> My machine is Thinkpad Yoga with Onelink dock attached. Onelink dock >

[PATCH 11/35 linux-next] usb: gadget: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/usb/gadget/udc/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/

[PATCH 00/35 linux-next] constify of_device_id array

2015-03-16 Thread Fabian Frederick
This small patchset adds const to of_device_id arrays in drivers branch. Fabian Frederick (35): ata: constify of_device_id array regulator: constify of_device_id array thermal: constify of_device_id array tty/hvc_opal: constify of_device_id array tty: constify of_device_id array power:

[PATCH] goku_udc: Remove uses of seq_ return values

2015-03-16 Thread Joe Perches
The seq_printf/seq_puts/seq_putc return values, because they are frequently misused, will eventually be converted to void. See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to seq_has_overflowed() and make public") Miscellanea: o Coalesce formats, realign arguments o Create static

Re: [PATCH v2 7/7] ARM: omap2plus_defconfig: Enable EXTCON_GPIO_USB

2015-03-16 Thread Tony Lindgren
* Roger Quadros [150126 04:19]: > This driver is needed for USB cable type detection on dra7-evm, > dra72-evm and am57xx-beagle-x15. > > Signed-off-by: Roger Quadros Applying this into omap-for-v4.1/defconfig. I think it's all queued up after this, please check and repost patches if it's still

Re: [PATCH 01/19] usb: dwc2: move debugfs code to a separate file

2015-03-16 Thread John Youn
On 3/16/2015 6:43 AM, Kaukab, Yousaf wrote: > >> -Original Message- >> From: Felipe Balbi [mailto:ba...@ti.com] >> Sent: Saturday, March 14, 2015 6:11 PM >> To: John Youn >> Cc: Kaukab, Yousaf; linux-usb@vger.kernel.org; ba...@ti.com; Herrero, >> Gregory; r.bald...@samsung.com; dingu...@op

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

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 05:34:43PM +0800, Li Jun wrote: > On Mon, Mar 16, 2015 at 05:03:17PM +0800, Peter Chen wrote: > > On Mon, Mar 16, 2015 at 04:15:22PM +0800, Li Jun wrote: > > > On Mon, Mar 16, 2015 at 09:44:30AM +0800, Peter Chen wrote: > > > > On Fri, Mar 13, 2015 at 10:34:59AM -0500, Felip

Re: [PATCH 02/19] usb: dwc2: debugfs: add support for complete register dump

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 04:45:47PM +, Kaukab, Yousaf wrote: > > -Original Message- > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Saturday, March 14, 2015 6:15 PM > > To: Kaukab, Yousaf > > Cc: linux-usb@vger.kernel.org; ba...@ti.com; john.y...@synopsys.com; > > Herrero, Gregory

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-16 Thread Tony Lindgren
* Matthijs van Duin [150314 14:04]: > On 13 March 2015 at 20:30, Tony Lindgren wrote: > > Hmm OK have to check that. It could also be that dm816x documentation > > is copy-paste from da850 or am3517 and the PHY got changed in the > > hardware as the registers don't match the documentation. Only t

RE: [PATCH 02/19] usb: dwc2: debugfs: add support for complete register dump

2015-03-16 Thread Kaukab, Yousaf
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Saturday, March 14, 2015 6:15 PM > To: Kaukab, Yousaf > Cc: linux-usb@vger.kernel.org; ba...@ti.com; john.y...@synopsys.com; > Herrero, Gregory; r.bald...@samsung.com; > dingu...@opensource.altera.com; zhangfei@lina

Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2015-03-16 Thread David Cohen
On Mon, Mar 16, 2015 at 09:46:00AM -0700, David Cohen wrote: > Adding Mika to CC list. Grrr :( Adding for real now. > > Br, David > > On Mon, Mar 09, 2015 at 12:10:51PM -0700, David Cohen wrote: > > Hi Linus, > > > > On Mon, Mar 09, 2015 at 11:16:08AM -0500, Felipe Balbi wrote: > > > On Sat, M

Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2015-03-16 Thread David Cohen
Adding Mika to CC list. Br, David On Mon, Mar 09, 2015 at 12:10:51PM -0700, David Cohen wrote: > Hi Linus, > > On Mon, Mar 09, 2015 at 11:16:08AM -0500, Felipe Balbi wrote: > > On Sat, Mar 07, 2015 at 09:06:22PM +0100, Linus Walleij wrote: > > > On Fri, Feb 20, 2015 at 8:17 PM, David Cohen > > >

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

2015-03-16 Thread Mathias Nyman
On 16.03.2015 17:21, Alistair Grant wrote: > On Mon, Mar 16, 2015 at 3:47 PM, Mathias Nyman > wrote: >> On 16.03.2015 16:31, Alistair Grant wrote: >>> On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman >>> wrote: On 15.03.2015 21:18, Alistair Grant wrote: > On Sun, Mar 15, 2015 at 3:54 PM,

[PATCH] uas: Add US_FL_NO_ATA_1X for Initio Corporation controllers / devices

2015-03-16 Thread Hans de Goede
A new uas compatible controller has shown up in some people's devices from the manufacturer Initio Corporation, this controller needs the US_FL_NO_ATA_1X quirk to work properly with uas, so add it to the uas quirks table. Reported-and-tested-by: Benjamin Tissoires Cc: Benjamin Tissoires Cc: sta.

[PATCH] USB: keyspan_pda: add new device id

2015-03-16 Thread Nathaniel W Filardo
Add USB VID/PID for Xircom PGMFHUB USB/serial component. (The hub and SCSI bridge on that hardware are recognized out of the box by existing drivers.) Tested VID/PID using new_id and loopback connection and was met with success, but that's all the testing done. Signed-off-by: Nathaniel Wesley Fil

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

2015-03-16 Thread Alistair Grant
On Mon, Mar 16, 2015 at 3:47 PM, Mathias Nyman wrote: > On 16.03.2015 16:31, Alistair Grant wrote: >> On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman >> wrote: >>> On 15.03.2015 21:18, Alistair Grant wrote: On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant wrote: > On Thu, Mar 12, 20

Re: Regarding FSL OTG support patch set

2015-03-16 Thread Felipe Balbi
Hi, (no top-posting) On Mon, Mar 16, 2015 at 06:18:18AM +, Ramneek Mehresh wrote: > Hi Balbi, > > I just sent you one mail...and that too for "advice...asking for there were two of them. The first one I silently ignored. -- balbi signature.asc Description: Digital signature

Re: [PATCH] pidff driver should work correctly with more than one concurrent effect

2015-03-16 Thread Jiri Kosina
On Thu, 26 Feb 2015, Jim Keir wrote: > The PID driver (usbhid/hid-pidff.c) does not set the effect ID when > uploading an effect. The result is that the initial upload works but > subsequent uploads to modify effect parameters are all directed at the > last-created effect. > > The targeted effect

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

2015-03-16 Thread Alan Stern
On Mon, 16 Mar 2015, Ruslan Bilovol wrote: > >> + if (ret) { > >> + struct usb_gadget_driver *tmp; > >> + > >> + list_for_each_entry(tmp, &gadget_driver_pending_list, > >> pending) > >> + if (tmp == driver) { > >> + list_

RE: Regarding FSL OTG support patch set

2015-03-16 Thread Alan Stern
On Mon, 16 Mar 2015, Ramneek Mehresh wrote: > Hi Balbi, > > You had responded to my mail that I sent for your advice. And I > followed your advice to put Alan and Greg in cc. Also, promptly > responded to Alan's comments. Ramneek, I don't remember seeing your version 2 patch. Can you post it a

Re: [PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-03-16 Thread Ivan T. Ivanov
Hi Roger, On Mon, 2015-03-16 at 15:11 +0200, Roger Quadros wrote: > Hi Ivan, > > On 16/03/15 14:32, Ivan T. Ivanov wrote: > > Hi, > > > > On Mon, 2015-02-02 at 12:21 +0200, Roger Quadros wrote: > > > This driver observes the USB ID pin connected over a GPIO and > > > updates the USB cable extc

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

2015-03-16 Thread Mathias Nyman
On 16.03.2015 16:31, Alistair Grant wrote: > On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman > wrote: >> On 15.03.2015 21:18, Alistair Grant wrote: >>> On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant >>> wrote: On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant wrote: > On Thu, Mar 1

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

2015-03-16 Thread Alistair Grant
On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman wrote: > On 15.03.2015 21:18, Alistair Grant wrote: >> On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant >> wrote: >>> On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant >>> wrote: On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu wrote: > Whe

Re: Bug 46201 - FTDI driver "error from flowcontrol urb"

2015-03-16 Thread Martin Stolpe
On Thursday 12 March 2015 11:09:24 Alan Stern wrote: > On Thu, 12 Mar 2015, Martin Stolpe wrote: > > Hello, > > > > I'm affected by the bug described in > > https://bugzilla.kernel.org/show_bug.cgi?id=46201 and would like to > > help to triage the cause of this bug. Unfortunately I have no > > exp

RE: [PATCH 01/19] usb: dwc2: move debugfs code to a separate file

2015-03-16 Thread Kaukab, Yousaf
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Saturday, March 14, 2015 6:11 PM > To: John Youn > Cc: Kaukab, Yousaf; linux-usb@vger.kernel.org; ba...@ti.com; Herrero, > Gregory; r.bald...@samsung.com; dingu...@opensource.altera.com; > zhangfei@linaro.org > Sub

Re: [PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-03-16 Thread Roger Quadros
Hi Ivan, On 16/03/15 14:32, Ivan T. Ivanov wrote: > Hi, > > On Mon, 2015-02-02 at 12:21 +0200, Roger Quadros wrote: >> This driver observes the USB ID pin connected over a GPIO and >> updates the USB cable extcon states accordingly. >> >> The existing GPIO extcon driver is not suitable for this

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

2015-03-16 Thread Mathias Nyman
On 15.03.2015 21:18, Alistair Grant wrote: > On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant wrote: >> On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant >> wrote: >>> On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu wrote: When a device with an isochronous endpoint is plugged into the Intel x

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

2015-03-16 Thread Li Jun
On Mon, Mar 16, 2015 at 05:03:17PM +0800, Peter Chen wrote: > On Mon, Mar 16, 2015 at 04:15:22PM +0800, Li Jun wrote: > > On Mon, Mar 16, 2015 at 09:44:30AM +0800, Peter Chen wrote: > > > On Fri, Mar 13, 2015 at 10:34:59AM -0500, Felipe Balbi wrote: > > > > On Fri, Mar 13, 2015 at 11:13:11AM +0800,

Re: [PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-03-16 Thread Ivan T. Ivanov
Hi, On Mon, 2015-02-02 at 12:21 +0200, Roger Quadros wrote: > This driver observes the USB ID pin connected over a GPIO and > updates the USB cable extcon states accordingly. > > The existing GPIO extcon driver is not suitable for this purpose > as it needs to be taught to understand USB cable s

Re: [PATCH] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-16 Thread Chanwoo Choi
On 03/12/2015 07:11 PM, Jaewon Kim wrote: > This patch adds driver data to support for Exynos5433 SoC. > The Exynos5433 has one USB3.0 Host and USB3.0 DRD(Dual Role Device). > Exynos5433 is simplar to Eyxnos7 but Exynos5433 have > one more USB3.0 Host controller. > > Signed-off-by: Jaewon Kim > -

Re: [git pull] gadgetfs fixes

2015-03-16 Thread Alexander Holler
Am 15.03.2015 um 09:31 schrieb 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

Re: keyspan_pda.c "new" device ID

2015-03-16 Thread Johan Hovold
On Mon, Mar 16, 2015 at 04:25:06AM -0400, Nathaniel W Filardo wrote: > Add USB VID/PID for Xircom PGMFHUB USB/serial component. (The hub and SCSI > bridge on that hardware are recognized out of the box by existing drivers.) > Tested VID/PID using new_id and loopback connection and was met with > s

Re: [PATCH RESEND] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread Yunzhi Li
Hi When the HCD is disconnected, the DMA transfers still in-flight were cleaned-up but the count of available DMA channels (e.g. available_host_channels) was not reset. The pool of DMA channels can be depleted when doing unclean disconnection of USB peripherals, and reaches the point where no tra

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

2015-03-16 Thread Johan Hovold
On Sun, Mar 15, 2015 at 09:56:04PM -0500, Doug Goldstein wrote: > Synapse Wireless uses the FTDI VID with a custom PID of 0x9090 for their > SNAP Stick 200 product. > > Signed-off-by: Doug Goldstein Applied, thanks. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" i

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

2015-03-16 Thread Li Jun
On Mon, Mar 16, 2015 at 05:03:17PM +0800, Peter Chen wrote: > On Mon, Mar 16, 2015 at 04:15:22PM +0800, Li Jun wrote: > > On Mon, Mar 16, 2015 at 09:44:30AM +0800, Peter Chen wrote: > > > On Fri, Mar 13, 2015 at 10:34:59AM -0500, Felipe Balbi wrote: > > > > On Fri, Mar 13, 2015 at 11:13:11AM +0800,

[PATCH RESEND] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread Vincent Palatin
When the HCD is disconnected, the DMA transfers still in-flight were cleaned-up but the count of available DMA channels (e.g. available_host_channels) was not reset. The pool of DMA channels can be depleted when doing unclean disconnection of USB peripherals, and reaches the point where no transfer

[PATCH] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread Vincent Palatin
When the HCD is disconnected, the DMA transfers still in-flight were cleaned-up but the count of available DMA channels (e.g. available_host_channels) was not reset. The pool of DMA channels can be depleted when doing unclean disconnection of USB peripherals, and reaches the point where no transfer

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

2015-03-16 Thread Peter Hung
Hello, Johan Hovold 於 2015/3/16 下午 04:55 寫道: On Mon, Mar 16, 2015 at 11:08:29AM +0800, Peter Hung wrote: Could you rewrite this as if (status < 0) status = usb_translate_errors(status); else status = 0; In my definition the return value of set/

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

2015-03-16 Thread Peter Hung
Hello, Johan Hovold 於 2015/3/16 下午 04:52 寫道: On Mon, Mar 16, 2015 at 10:53:38AM +0800, Peter Hung wrote: To avoid confusing to user, I'll keep it without warning message. Yes, skip the warning, but could you a short comment about this (e.g. the 1-byte packet on open) before you do the size ch

keyspan_pda.c "new" device ID

2015-03-16 Thread Nathaniel W Filardo
Add USB VID/PID for Xircom PGMFHUB USB/serial component. (The hub and SCSI bridge on that hardware are recognized out of the box by existing drivers.) Tested VID/PID using new_id and loopback connection and was met with success, but that's all the testing done. Signed-Off-By: Nathaniel Wesley Fil

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

2015-03-16 Thread Peter Chen
On Mon, Mar 16, 2015 at 04:15:22PM +0800, Li Jun wrote: > On Mon, Mar 16, 2015 at 09:44:30AM +0800, Peter Chen wrote: > > 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,

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

2015-03-16 Thread Johan Hovold
On Mon, Mar 16, 2015 at 11:08:29AM +0800, Peter Hung wrote: > 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); > >>

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

2015-03-16 Thread Johan Hovold
On Mon, Mar 16, 2015 at 10:53:38AM +0800, Peter Hung wrote: > 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;

Re: Driver problem with USB chipset VIA VL812-B2

2015-03-16 Thread Oliver Neukum
On Fri, 2015-03-06 at 17:11 -0700, Warren Severin wrote: > Bug report, in kernel.org suggested format. > > [1.] One line summary of the problem: > > Excessive CPU load when USB 3.0 hub with VIA VL812-B2 chipset is plugged > into port served by internal (root) USB 3.0 hub What exactly is running

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

2015-03-16 Thread Li Jun
On Mon, Mar 16, 2015 at 09:44:30AM +0800, Peter Chen wrote: > 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: > > > > > > > > this could still be done g

[PATCH v3] usb: renesas_usbhs: fix spinlock suspected in a gadget complete function

2015-03-16 Thread Yoshihiro Shimoda
According to the gadget.h, a "complete" function will always be called with interrupts disabled. However, sometimes usbhsg_queue_pop() function is called with interrupts enabled. So, this function should be held by usbhs_lock() to disable interruption. Also, this driver has to call spin_unlock() to

RE: [PATCH v2 1/4] usb: renesas_usbhs: fix spinlock suspected in a gadget complete function

2015-03-16 Thread yoshihiro shimoda
Hi, > Hi, > > On Fri, Mar 13, 2015 at 01:14:01AM +, yoshihiro shimoda wrote: > > > > > diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c > > > > > b/drivers/usb/renesas_usbhs/mod_gadget.c > > > > > index e0384af77e56..e9d75d85be59 100644 > > > > > --- a/drivers/usb/renesas_usbhs/mod_gadget