Re: usb media detection issue on USB_MUSB_HDRC on kernel 3.17

2014-10-26 Thread Angelo Dureghello
Had some progresses: on kernel 3.17, musb controller driver is set to start as OTG mode as default. So as first thing, since my board has ID pin shorted to ground, i changed the default mode to MUSB_HOST., as it was on kernel 3.5.1 So with same settings of 3.5.1 now key is detected correctly

[PATCH 0/1] usb: chipidea fixes for v3.18-rc2

2014-10-26 Thread Peter Chen
Hi Greg, It is a great bug-fix, it fixed the chipidea loadable module issue from v3.14, thanks Torsten's patch. Torsten Fleischer (1): usb: chipidea: Fix oops when removing the ci_hdrc module drivers/usb/chipidea/core.c |1 - 1 file changed, 1 deletion(-) -- 1.7.9.5 -- To unsubscribe

[PATCH 1/1] usb: chipidea: Fix oops when removing the ci_hdrc module

2014-10-26 Thread Peter Chen
From: Torsten Fleischer to-fleisc...@t-online.de The call of 'kfree(ci-hw_bank.regmap)' in ci_hdrc_remove() sometimes causes a kernel oops when removing the ci_hdrc module. Since there is no separate memory allocated for the ci-hw_bank.regmap array, there is no need to free it. Cc: v3.14+

Re: [PATCH v7 0/3] pxa27x remaing usb serie

2014-10-26 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: These are the remaining patches from the initial serie. Ping ? Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at

usb: gadget: Fixes to receive from USB EHCI Debug

2014-10-26 Thread Kyösti Mälkki
USB gadget driver dbgp can be used as an EHCI debug dongle in replacement for product like Net20DC. With it one can receive early kernel messages from remote targets over USB. See parameter earlyprintk=dbgp for target kernel requirements and configuration. The two patches are required for dbgp

[PATCH 2/2] usb: gadget serial: Honour termios CLOCAL on disconnect

2014-10-26 Thread Kyösti Mälkki
There are applications where it is desirable to not hangup ttyGS* when USB disconnect is detected. USB host side of communication may power-cycle periodically or there may be the actual need to physically disconnect and reconnect USB cable temporarily. USB disconnects on serial gadget are

[PATCH 1/2] usb: gadget dbgp: Fix endpoint config after USB disconnect

2014-10-26 Thread Kyösti Mälkki
SET_FEATURE request for DEBUG_MODE only worked the first time after module initialisation. On USB host reset or cable disconnect gserial_disconnect() clears the associations dbgp.serial-in-desc and dbgp_serial-out-desc. Per the USB 2.0 debug device specification, SET_FEATURE with DEBUG_MODE is to

gadgetfs: fops change not preserved on return from dev_config()

2014-10-26 Thread Andre Wolokita
Hi Felipe, I'm noticing some strange behaviour in the gadgetfs driver when running gadgetfs-test; the program fails with the error ep0 read after poll: Invalid argument. As far as I understand, an inode is created upon an open() call in gadgetfs-test and an initial fops is assigned to the

Re: [PATCH 00/17] usb: gadget: convert udc driver to use udc-core's reset notifier

2014-10-26 Thread Peter Chen
On Tue, Sep 16, 2014 at 09:26:35PM -0500, Felipe Balbi wrote: Hi, On Wed, Sep 17, 2014 at 09:13:53AM +0800, Peter Chen wrote: Hi Felipe, In this series, I convert udc driver to use udc-core's reset notifier which has added recently, I only change the drivers which has bus reset

Re: [PATCH v2 0/2] ARM: shmobile: add USB3.0 device node on r8a7790

2014-10-26 Thread Simon Horman
On Fri, Oct 24, 2014 at 07:41:45PM +0900, Yoshihiro Shimoda wrote: This series is based on Simon's renesas.git branch and renesas-devel-20141024-v3.18-rc1 tag. If we use the generic phy driver for R-Car Gen2 (drivers/phy/phy-rcar-gen2.c), we can use the USB3.0 on lager. Thanks, I have queued

Re: [PATCH v5 0/2] Add HS-USB device tree support for R8A7790/Lager board

2014-10-26 Thread Simon Horman
On Fri, Oct 24, 2014 at 07:44:32PM +0900, Yoshihiro Shimoda wrote: Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20141024-v3.18-rc1' tag. Here we add the HS-USB device tree support on the R8A7790/Lager reference board. The patchset requires the USB PHY

Re: [PATCH v2 0/1] ARM: shmobile: add USB3.0 device node on r8a7791

2014-10-26 Thread Simon Horman
On Fri, Oct 24, 2014 at 07:43:01PM +0900, Yoshihiro Shimoda wrote: This patch is based on Simon's renesas.git branch and renesas-devel-20141024-v3.18-rc1 tag. Since koelsch and henninger doesn't have a USB3.0 connector, I submit a patch for r8a7791.dtsi only. Thanks, I have queued this up.

Re: [PATCH v4 0/3] HS-USB device tree support for R8A7791/Koelsch/Henninger board

2014-10-26 Thread Simon Horman
On Fri, Oct 24, 2014 at 07:45:05PM +0900, Yoshihiro Shimoda wrote: Here's the set of 3 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20141024-v3.18-rc1' tag. Here we add the HS-USB device tree support on the R8A7791/Koelsch/Henninger reference boards. The patchset

Re: [PATCH v2 02/16] pci: quirks: add quirk to avoid AMD NL to bind with xhci

2014-10-26 Thread Huang Rui
On Fri, Oct 24, 2014 at 10:35:29AM -0600, Bjorn Helgaas wrote: On Fri, Oct 17, 2014 at 04:53:27PM +0800, Huang Rui wrote: The dwc3 controller is the PCI-E device in AMD NL platform, but the class code of PCI header is 0x0c0330, the same with xHC. That's because it needs to meet the

[PATCH 10/11] hwa-hc: Fix probable mask then right shift defect

2014-10-26 Thread Joe Perches
Precedence of and is not the same and is not left to right. shift has higher precedence and should be done after the mask. Add parentheses around the mask. Signed-off-by: Joe Perches j...@perches.com --- drivers/usb/host/hwa-hc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 00/11] treewide: mask then shift defects and style updates

2014-10-26 Thread Joe Perches
logical mask has lower precedence than shift but should be done before the shift so parentheses are generally required. And when masking with a fixed value after a shift, normal kernel style has the shift on the left, then the shift on the right so convert a few non-conforming uses. Joe Perches