Re: [PATCH 1/3] usb: ohci-exynos: Make provision for vdd regulators

2014-04-24 Thread Vivek Gautam
Hi, On Thu, Apr 24, 2014 at 6:08 AM, Anton Tikhomirov av.tikhomi...@samsung.com wrote: Hi, Hi, -Original Message- From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- ow...@vger.kernel.org] On Behalf Of Vivek Gautam Sent: Monday, April 21, 2014 9:17 PM Facilitate

Re: [PATCH 1/3] usb: ohci-exynos: Make provision for vdd regulators

2014-04-24 Thread Vivek Gautam
Hi Jingoo, On Thu, Apr 24, 2014 at 6:56 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, April 24, 2014 9:33 AM, Jingoo Han wrote: On Thursday, April 24, 2014 9:18 AM, Anton Tikhomirov wrote: On Monday, April 21, 2014 9:17 PM, Vivek Gautam wrote: Facilitate getting required 3.3V

Re: [PATCH 1/3] usb: ohci-exynos: Make provision for vdd regulators

2014-04-24 Thread Jingoo Han
On Thursday, April 24, 2014 3:40 PM, Vivek Gautam wrote: On Thu, Apr 24, 2014 at 6:56 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, April 24, 2014 9:33 AM, Jingoo Han wrote: On Thursday, April 24, 2014 9:18 AM, Anton Tikhomirov wrote: On Monday, April 21, 2014 9:17 PM, Vivek

Re: [PATCH] USB: serial: fix sysfs-attribute removal deadlock

2014-04-24 Thread Li Zhong
On Wed, 2014-04-23 at 10:19 -0400, Tejun Heo wrote: cc'ing Li Zhong who's working on a simliar issue in the following thread and quoting whole body. http://thread.gmane.org/gmane.linux.kernel/1680706 Li, this is another variation of the same problem. Maybe this can be covered by your

Re: Deadlock v3.10.35 with FTD_SIO usb-serial adapter

2014-04-24 Thread Matteo Fortini
After some time, we finally had another hangup on kernel 3.14. @Alan: Here's the info we got in the files you mentioned. At any rate, we're keeping the board in the same state so that we can run/produce any other needed info. http://pastebin.com/DZPAqjcd Thank you, Matteo Il 16/04/2014

Re: [PATCH] usb: musb_dsps: fix the exit routine for debugfs

2014-04-24 Thread Olivier Gayot
Ok, thank you, I didn't notice the existing thread. On Wed, 23 Apr 2014 10:55:29 -0500 Felipe Balbi ba...@ti.com wrote: On Wed, Apr 23, 2014 at 05:39:43PM +0200, Olivier Gayot wrote: The following commit introduced the debugfs : 40f099e32c2a06bad7d75683421e30fcc74924cd Author: Markus

[RFC 3/9] usb: gadget: OS Feature Descriptors support

2014-04-24 Thread Andrzej Pietrasiewicz
There is a custom (non-USB IF) extension to the USB standard: http://msdn.microsoft.com/library/windows/hardware/gg463182 The said extension is maintained by Microsoft for Microsoft. Yet it is fairly common for various devices to use it, and a popular proprietary operating system expects

[RFC 9/9] usb: gadget: ether: example usage of OS desriptors

2014-04-24 Thread Andrzej Pietrasiewicz
Example of using OS Descriptors in a legacy gadget. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/ether.c | 58 ++ 1 file changed, 53 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/ether.c

[RFC 7/9] usb: gadget: f_rndis: OS Descriptors configfs support

2014-04-24 Thread Andrzej Pietrasiewicz
Added handling of OS Descriptors support for f_rndis. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/f_rndis.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c index b781a59..43d15f9 100644

[RFC 0/9] OS Descriptors support

2014-04-24 Thread Andrzej Pietrasiewicz
There is a custom (non-USB IF) extension to the USB standard: http://msdn.microsoft.com/library/windows/hardware/gg463182 The said extension is maintained by Microsoft for Microsoft. Yet it is fairly common for various devices to use it, and a popular proprietary operating system expects

[RFC 5/9] usb: gadget: configfs: OS String support

2014-04-24 Thread Andrzej Pietrasiewicz
Add handling of OS String extension from the configfs interface. A directory os_desc is added at the top level of a gadget's directories hierarchy. In the os_desc directory there are three attributes: use, b_vendor_code and qw_sign. If use contains 0 the OS string is not reported to the host.

[RFC 1/9] usb: gadget: FunctionFS: share VLA macros with all usb gadget files

2014-04-24 Thread Andrzej Pietrasiewicz
Variable Length Array macros allow portable (compilable with both gcc and clang) way of allocating a number of structures using a single memory chunk. They can be useful for files other than f_fs.c, so move them to a header file. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com ---

[RFC 6/9] usb: gadget: configfs: OS Extended Compatibility descriptors support

2014-04-24 Thread Andrzej Pietrasiewicz
Add handling of OS Extended Compatibility descriptors from configfs interface. Hosts which expect the OS Descriptors ask only for configurations @ index 0, but linux-based USB devices can provide more than one configuration. This patch adds marking one of gadget's configurations the configuration

[RFC 4/9] usb: gadget: f_rndis: OS descriptors support

2014-04-24 Thread Andrzej Pietrasiewicz
In order for usb functions to expose OS descriptors they need to be made aware of OS descriptors. This involves extending the options structure and setting up appropriate associations. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/f_rndis.c | 24

[RFC 2/9] usb: gadget: OS String support

2014-04-24 Thread Andrzej Pietrasiewicz
There is a custom (non-USB IF) extension to the USB standard: http://msdn.microsoft.com/library/windows/hardware/gg463182 The said extension is maintained by Microsoft for Microsoft. Yet it is fairly common for various devices to use it, and a popular proprietary operating system expects

[RFC 8/9] usb: gadget: configfs: OS Extended Properties descriptors support

2014-04-24 Thread Andrzej Pietrasiewicz
Add handling of OS Extended Properties descriptors from configfs interface. One kind of OS Descriptors are Extended Properties descriptors, which need to be specified per interface or per group of interfaces described by an IAD. This patch adds support for creating subdirectories in interface.n

RE: [PATCH v2 0/3] Some update for USB OTG

2014-04-24 Thread Peter Chen
Hi Felipe, Two for fsm, the other one is to delete CONFIG_USB_OTG_FSM since it is duplicated with CONFIG_USB_OTG, thanks. Change on v1: Remove {} for a single statement in patch: usb: phy-fsm: update OTG HNP state transition. Li Jun (1):

[PATCH] usb: gadget: fsl: check vbus presence on probe

2014-04-24 Thread Paul Fertser
If VBUS is already present during the driver initialisation, the corresponding IRQ never fires, so there is no way the gadget can get enumerated. This patch is real-life tested on an i.MX25 board with VBUS constantly hooked up. Signed-off-by: Paul Fertser fercer...@gmail.com ---

Re: [PATCH] USB: musb: dsps: move debugfs_remove_recursive()

2014-04-24 Thread Ezequiel Garcia
Felipe, On Apr 22, Greg KH wrote: On Tue, Apr 22, 2014 at 10:26:13AM -0500, Felipe Balbi wrote: On Tue, Apr 22, 2014 at 12:19:16PM -0300, Ezequiel Garcia wrote: That way silly grass-hoppers like me won't have to go through the find-bisect-fix bug cycle, only to discover someone else

Re: [RFC 0/9] OS Descriptors support

2014-04-24 Thread Andrzej Pietrasiewicz
W dniu 24.04.2014 11:17, Andrzej Pietrasiewicz pisze: There is a custom (non-USB IF) extension to the USB standard: http://msdn.microsoft.com/library/windows/hardware/gg463182 The said extension is maintained by Microsoft for Microsoft. Yet it is fairly common for various devices to use it,

Re: [PATCH v4 0/3] usb: chipidea: msm: Clean and fix glue layer driver

2014-04-24 Thread Ivan T. Ivanov
Hi Peter, On Thu, 2014-04-24 at 08:38 +0800, Peter Chen wrote: On Wed, Apr 23, 2014 at 03:28:01PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This series intend to fix driver, which was broken for a while. It is used to create peripheral role device, which in

Re: [PATCH] USB: serial: fix sysfs-attribute removal deadlock

2014-04-24 Thread Tejun Heo
On Thu, Apr 24, 2014 at 04:29:15PM +0800, Li Zhong wrote: On Wed, 2014-04-23 at 10:19 -0400, Tejun Heo wrote: cc'ing Li Zhong who's working on a simliar issue in the following thread and quoting whole body. http://thread.gmane.org/gmane.linux.kernel/1680706 Li, this is another

Re: [PATCH] USB: musb: dsps: move debugfs_remove_recursive()

2014-04-24 Thread Felipe Balbi
On Thu, Apr 24, 2014 at 08:29:17AM -0300, Ezequiel Garcia wrote: Felipe, On Apr 22, Greg KH wrote: On Tue, Apr 22, 2014 at 10:26:13AM -0500, Felipe Balbi wrote: On Tue, Apr 22, 2014 at 12:19:16PM -0300, Ezequiel Garcia wrote: That way silly grass-hoppers like me won't have to go

Re: [PATCH 1/4] xhci: A default implementation for Ux timeout calculation and tier policy check

2014-04-24 Thread Mathias Nyman
On 04/22/2014 07:27 AM, Pratyush Anand wrote: As best case, a host controller should support U0 to U1 switching for the devices connected below any tier of hub level supported by usb specification. Therefore xhci_check_tier_policy should always return success as default implementation. A host

Re: [PATCH] USB: serial: fix sysfs-attribute removal deadlock

2014-04-24 Thread Johan Hovold
On Thu, Apr 24, 2014 at 10:35:17AM -0400, Tejun Heo wrote: On Thu, Apr 24, 2014 at 04:29:15PM +0800, Li Zhong wrote: On Wed, 2014-04-23 at 10:19 -0400, Tejun Heo wrote: cc'ing Li Zhong who's working on a simliar issue in the following thread and quoting whole body.

Re: [PATCH v2 0/3] Some update for USB OTG

2014-04-24 Thread Felipe Balbi
Hi, On Thu, Apr 24, 2014 at 09:37:32AM +, Peter Chen wrote: snip Also, I think most of that code should be agnostic of the PHY layer and sit in usb-common.c. Quite frankly, OTG shouldn't depend on the PHY at all, we could very well have implementations which need/have no SW

[PATCH] usb: dwc3: gadget: pretty print link states

2014-04-24 Thread Felipe Balbi
this makes it slightly easier to read link state change interrupt logs. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/usb/dwc3/gadget.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/gadget.c

Re: [PATCH] usb: musb_dsps: fix the exit routine for debugfs

2014-04-24 Thread Felipe Balbi
Hi, On Thu, Apr 24, 2014 at 11:07:34AM +0200, Olivier Gayot wrote: Ok, thank you, I didn't notice the existing thread. no problem, but don't top-post please :-s -- balbi signature.asc Description: Digital signature

[PATCH v7 20/20] usb: phy: msm: Use usb_add_phy_dev() to register device

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com They could be more than one USB2.0 PHY's on the platform. This will allow all of them to be registred successfuly. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v7 04/20] usb: phy: msm: Enable deferred driver probing

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Using platform_driver_probe() prevent driver from requesting probe deferral. Fix this. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v7 18/20] usb: phy: msm: Handle disconnect events

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Put the transceiver in non-driving mode. Otherwise host may not detect soft-disconnection. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Cc: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/phy/phy-msm-usb.c | 18 ++ 1 file

[PATCH v7 13/20] usb: phy: msm: Use reset framework for LINK and PHY resets

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Using reset framework eliminate need of platform specific callbacks and enable reset lines to be specified in DT files. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 29 +

[PATCH v7 15/20] usb: phy: msm: Correct USB PHY Reset sequence for newer platform

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com On few legacy platforms, USB PHY is having dedicated reset clk. It is used to reset USB PHY after putting USB PHY into low power mode and for calibration of USB PHY. Putting USB PHY into low power mode is causing ulpi read/write timeout as expected. USB PHY

[PATCH v7 02/20] usb: phy: msm: Remove __init macro from driver probe method

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com This fixes following: WARNING: drivers/usb/phy/built-in.o(.data+0x68): Section mismatch in reference from the variable msm_otg_driver to the function .init.text:msm_otg_probe() The variable msm_otg_driver references the function __init msm_otg_probe()

[PATCH v7 17/20] usb: phy: msm: Select secondary PHY via TCSR

2014-04-24 Thread Ivan T. Ivanov
From: Tim Bird tbird...@gmail.com Select the secondary PHY using the TCSR register, if phy-num=1 in the DTS (or phy_number is set in the platform data). The SOC has 2 PHYs which can be used with the OTG port, and this code allows configuring the correct one. Note: This resolves the problem I

[PATCH v7 16/20] usb: phy: msm: Fix PTS definitions for MSM USB controller

2014-04-24 Thread Ivan T. Ivanov
From: Tim Bird tbird...@gmail.com Fix the value used for Parallel Transceiver Select (PTS) for the MSM USB controller. This is a standard chipidea PORTSC definition, where a PHY_TYPE of 10b (30) is ULPI and 11b (30) is SERIAL. Fix the definitions and use them correctly in the driver code.

[PATCH v7 14/20] usb: phy: msm: Add support for secondary PHY control

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Allow support to use 2nd HSPHY with USB2 Core. Some platforms may have configuration to allow USB controller work with any of the two HSPHYs present. By default driver configures USB core to use primary HSPHY. Add support to allow user select 2nd HSPHY

[PATCH v7 11/20] usb: phy: msm: Properly check result from platform_get_irq()

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Function return negative code on error. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c

[PATCH v7 08/20] usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Use enum usb_dr_mode and drop default usb_dr_mode from platform data. USB DT bindings states: dr_mode: ...In case this attribute isn't passed via DT, USB DRD controllers should default to OTG..., so remove redundand field. Signed-off-by: Ivan T. Ivanov

[PATCH v7 05/20] usb: phy: msm: Migrate to Managed Device Resource allocation

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Move memory, regulators, clocks and irq allocation to devm_* variants. Properly check for valid clk handles. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 192 -- 1 file

[PATCH v7 07/20] usb: phy: msm: Fix checkpatch.pl warnings

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com This fixes following: WARNING: quoted string split across lines WARNING: Prefer seq_puts to seq_printf Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 39 ++- 1 file changed, 14

[PATCH v7 10/20] usb: phy: msm: Remove HSUSB prefix from regulator names

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Prefix did not bring any useful information. Currently none of the MSM platforms define these regulators, so it is safe to rename them. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 6 +++--- 1 file changed, 3

[PATCH v7 06/20] usb: phy: msm: Remove unnecessarily check for valid regulators.

2014-04-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Whether regulators are available or not is checked at driver probe. If they are not available driver will refuse to load, so no need to check them again. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 10 -- 1

Re: [PATCH v7 05/20] usb: phy: msm: Migrate to Managed Device Resource allocation

2014-04-24 Thread Fabio Estevam
On Thu, Apr 24, 2014 at 12:48 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: + motg-vddcx = devm_regulator_get(motg-phy.dev, HSUSB_VDDCX); + if (IS_ERR(motg-vddcx)) { + dev_err(motg-phy.dev, unable to get hsusb vddcx\n); + return PTR_ERR(motg-vddcx); +

Re: [PATCH v7 20/20] usb: phy: msm: Use usb_add_phy_dev() to register device

2014-04-24 Thread Sergei Shtylyov
Hello. On 04/24/2014 07:48 PM, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com They could be more than one USB2.0 PHY's on the platform. s/They/There/ This will allow all of them to be registred successfuly. s/registred successfuly/registered successfully/

[PATCH] dt: bindings: dwc2: fix required value for the phy-names property

2014-04-24 Thread Matt Porter
7408484 usb: gadget: s3c-hsotg: enable generic phy support introduces generic phy support to the dwc2.txt binding and the s3c-hsotg driver which implements support for the binding. The binding documentation incorrectly states that the phy-names property will be device. The binding example, driver,

usb: mon: freeing active timer

2014-04-24 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 1361.390880] WARNING: CPU: 10 PID: 24274 at lib/debugobjects.c:260 debug_print_object+0x8c/0xb0() [ 1361.391203] ODEBUG: free active (active state 0) object type:

Re: usb: mon: freeing active timer

2014-04-24 Thread Greg KH
On Thu, Apr 24, 2014 at 01:40:14PM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 1361.390880] WARNING: CPU: 10 PID: 24274 at lib/debugobjects.c:260 debug_print_object+0x8c/0xb0() [

Re: usb fixes for v3.15-rc3

2014-04-24 Thread Greg KH
On Mon, Apr 21, 2014 at 10:35:17AM -0500, Felipe Balbi wrote: Hi Greg, Here's my first pull request. All patches soaked for a long time and have passed my 300 randconfigs without issues. Please consider merging this to your usb-linus branch. The following changes since commit

Re: [PATCH 1/1] usb: chipidea: coordinate usb phy initialization for different phy type

2014-04-24 Thread Greg KH
On Wed, Apr 23, 2014 at 01:30:43PM +0800, Peter Chen wrote: For internal PHY (like UTMI), the phy clock may from internal pll, it is on/off on the fly, the access PORTSC.PTS will hang without phy clock. So, the usb_phy_init which will open phy clock needs to be called before

Re: usb: mon: freeing active timer

2014-04-24 Thread Sasha Levin
On 04/24/2014 03:24 PM, Greg KH wrote: On Thu, Apr 24, 2014 at 01:40:14PM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 1361.390880] WARNING: CPU: 10 PID: 24274 at

Re: [PATCH 1/5] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-04-24 Thread Greg KH
On Tue, Apr 22, 2014 at 03:22:58PM +0300, Mathias Nyman wrote: From: Julius Werner jwer...@chromium.org We have observed a rare cycle state desync bug after Set TR Dequeue Pointer commands on Intel LynxPoint xHCs (resulting in an endpoint that doesn't fetch new TRBs and thus an unresponsive

Re: [PATCH 2/5] xhci: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-04-24 Thread Greg KH
On Tue, Apr 22, 2014 at 03:22:59PM +0300, Mathias Nyman wrote: From: Alexander Gordeev agord...@redhat.com As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new

Re: [PATCH 4/5] xhci: extend quirk for Renesas cards

2014-04-24 Thread Greg KH
On Tue, Apr 22, 2014 at 03:23:01PM +0300, Mathias Nyman wrote: From: Igor Gnatenko i.gnatenko.br...@gmail.com After suspend another Renesas PCI-X USB 3.0 card doesn't work. [root@fedora-20 ~]# lspci -vmnnd 1912: Device: 03:00.0 Class:USB controller [0c03] Vendor:

Re: [PATCH 3/5] xhci: Switch Intel Lynx Point ports to EHCI on shutdown.

2014-04-24 Thread Greg KH
On Tue, Apr 22, 2014 at 03:23:00PM +0300, Mathias Nyman wrote: From: Denis Turischev denis.turisc...@compulab.co.il The same issue like with Panther Point chipsets. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system.

Re: [PATCH 0/5] xhci: fixes for 3.15-rc usb-linus

2014-04-24 Thread Greg KH
On Tue, Apr 22, 2014 at 03:22:57PM +0300, Mathias Nyman wrote: Hi Greg Here are the xhci fixes for 3.15-rc usb-linus. Most of them are very small fixes that didn't make it to 3.14, sitting and waiting for 3.15-rc1 to come out. Only the Prefer endpoint context.. patch by Julius has a bit

Re: [PATCH 5/5] usb/xhci: fix compilation warning when !CONFIG_PCI !CONFIG_PM

2014-04-24 Thread Greg KH
On Tue, Apr 22, 2014 at 03:23:02PM +0300, Mathias Nyman wrote: From: David Cohen david.a.co...@linux.intel.com When CONFIG_PCI and CONFIG_PM are not selected, xhci.c gets this warning: drivers/usb/host/xhci.c:409:13: warning: ‘xhci_msix_sync_irqs’ defined but not used [-Wunused-function]

Re: [PATCH v2 00/13] extcon: major rework

2014-04-24 Thread Greg KH
On Mon, Apr 14, 2014 at 01:46:11PM +0200, Robert Baldyga wrote: This patchset adds many improvements to extcon class driver and extcon provider drivers. It changes extcon API to faster and safer by replaceing function taking extcon and cable names with functions working with structures

Re: usb: mon: freeing active timer

2014-04-24 Thread Alan Stern
On Thu, 24 Apr 2014, Sasha Levin wrote: On 04/24/2014 03:24 PM, Greg KH wrote: On Thu, Apr 24, 2014 at 01:40:14PM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [

RE: [PATCH] usb: dwc3: gadget: pretty print link states

2014-04-24 Thread Paul Zimmerman
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Felipe Balbi Sent: Thursday, April 24, 2014 8:10 AM this makes it slightly easier to read link state change interrupt logs. Signed-off-by: Felipe Balbi ba...@ti.com ---

Re: [PATCH] usb: dwc3: gadget: pretty print link states

2014-04-24 Thread Felipe Balbi
On Thu, Apr 24, 2014 at 09:18:08PM +, Paul Zimmerman wrote: From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Felipe Balbi Sent: Thursday, April 24, 2014 8:10 AM this makes it slightly easier to read link state change interrupt logs.

Re: usb audio breaks ohci-pci

2014-04-24 Thread Dennis New
On Thu, 17 Apr 2014 15:36:02 -0400 (EDT), Alan Stern wrote: On Tue, 1 Apr 2014, Dennis New wrote: On Tue, 1 Apr 2014 09:30:01 -0400 (EDT), Alan Stern wrote: I don't know that much can be done to prevent the controller from crashing, or to recover from such a crash. Maybe resetting

Re: [EHCI Debug Port] Linux fails to setup EHCI debug port

2014-04-24 Thread Kyösti Mälkki
Sorry for the late response, as I do not follow linux-usb list very closely. I have discussed recent Intel chipsets and EHCI debug in some detail on the coreboot mailing list [1]. As for the discussion [2] that took place here in February, I noticed you tried with early_printk=dbgp which

[PATCH] usb_wwan: some improvement on write and resume

2014-04-24 Thread xiao jin
When enable usb serial for modem data, sometimes the tty is blocked in tty_wait_until_sent because portdata-out_busy always is set and have no chance to be cleared. We have found two scenarios lead to portdata-out_busy problem. 1. usb_wwan_write set portdata-out_busy firstly, then try autopm

[PATCH 4/5] appledisplay: Convert /n to \n

2014-04-24 Thread Joe Perches
Use a newline character appropriately. Signed-off-by: Joe Perches j...@perches.com --- drivers/usb/misc/appledisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index ba6a5d6..f37c78d 100644 ---

[PATCH 0/5] treewide: Convert logging message misuses of /n to \n

2014-04-24 Thread Joe Perches
Joe Perches (5): qlge: Convert /n to \n iwlegacy: Convert /n to \n staging: rtlfoo: Convert /n to \n appledisplay: Convert /n to \n sound: tlv320aic31xx: Convert /n to \n drivers/net/ethernet/qlogic/qlge/qlge_main.c | 2 +- drivers/net/wireless/iwlegacy/3945.c | 2 +-

RE: [PATCH 1/1] usb: chipidea: coordinate usb phy initialization for different phy type

2014-04-24 Thread Peter Chen
On Wed, Apr 23, 2014 at 01:30:43PM +0800, Peter Chen wrote: For internal PHY (like UTMI), the phy clock may from internal pll, it is on/off on the fly, the access PORTSC.PTS will hang without phy clock. So, the usb_phy_init which will open phy clock needs to be called before

Re: [PATCH] USB: serial: fix sysfs-attribute removal deadlock

2014-04-24 Thread Li Zhong
On Thu, 2014-04-24 at 10:35 -0400, Tejun Heo wrote: On Thu, Apr 24, 2014 at 04:29:15PM +0800, Li Zhong wrote: On Wed, 2014-04-23 at 10:19 -0400, Tejun Heo wrote: cc'ing Li Zhong who's working on a simliar issue in the following thread and quoting whole body.

Re: [PATCH] USB: serial: fix sysfs-attribute removal deadlock

2014-04-24 Thread Li Zhong
On Thu, 2014-04-24 at 16:52 +0200, Johan Hovold wrote: On Thu, Apr 24, 2014 at 10:35:17AM -0400, Tejun Heo wrote: On Thu, Apr 24, 2014 at 04:29:15PM +0800, Li Zhong wrote: On Wed, 2014-04-23 at 10:19 -0400, Tejun Heo wrote: cc'ing Li Zhong who's working on a simliar issue in the

Re: [PATCH 1/1] usb: chipidea: coordinate usb phy initialization for different phy type

2014-04-24 Thread Greg KH
On Fri, Apr 25, 2014 at 02:07:35AM +, Peter Chen wrote: On Wed, Apr 23, 2014 at 01:30:43PM +0800, Peter Chen wrote: For internal PHY (like UTMI), the phy clock may from internal pll, it is on/off on the fly, the access PORTSC.PTS will hang without phy clock. So, the

RE: [PATCH v4 0/3] usb: chipidea: msm: Clean and fix glue layer driver

2014-04-24 Thread Peter Chen
On Thu, 2014-04-24 at 08:38 +0800, Peter Chen wrote: On Wed, Apr 23, 2014 at 03:28:01PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This series intend to fix driver, which was broken for a while. It is used to create peripheral role device, which in

Re: [PATCH v4] Add support for using a MAX3421E chip as a host driver.

2014-04-24 Thread David Mosberger
Greg, Thanks for taking a look. Yes, I'll definitely fix those oversights and send a new patch next week. Have a good weekend, --david On Thu, Apr 24, 2014 at 2:09 PM, Greg KH gre...@linuxfoundation.org wrote: On Fri, Apr 11, 2014 at 11:55:51PM -0600, David Mosberger wrote: This is v4 of

[no subject]

2014-04-24 Thread ADELIA SOARES RIBAS
Claim your 500,000,00 Euros -- 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 http://vger.kernel.org/majordomo-info.html