Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Oliver Neukum
On Tue, 2015-03-24 at 13:57 +0200, Sami Farin wrote: On Tue, Mar 24, 2015 at 12:29:19 +0100, Oliver Neukum wrote: On Tue, 2015-03-24 at 13:26 +0200, Sami Farin wrote: ... 4.0.0-rc5+ does not switch to old Win mode even if I blacklist usb_storage, have to reboot to 3.18.9. Why?

Re: [PATCH 00/12] USB: chipidea: patchset for performance improvement

2015-03-24 Thread Peter Chen
On Tue, Mar 24, 2015 at 04:02:53PM +0530, victorascr...@gmail.com wrote: Hello Peter, On 15-03-19 09:19:11, Peter Chen wrote: Hi all, In this patch set, I add some interfaces for tuning the performance of chipidea usb driver. With this set, the USB performance can be improved at

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Sami Farin
On Tue, Mar 24, 2015 at 19:08:21 +0700, Lars Melin wrote: On 2015-03-24 18:57, Sami Farin wrote: On Tue, Mar 24, 2015 at 12:29:19 +0100, Oliver Neukum wrote: On Tue, 2015-03-24 at 13:26 +0200, Sami Farin wrote: ... 4.0.0-rc5+ does not switch to old Win mode even if I blacklist usb_storage,

Re: Errata for Freescale root-hub TT?

2015-03-24 Thread Alan Stern
On Tue, 24 Mar 2015, Peter Chen wrote: On Mon, Mar 23, 2015 at 10:11:04AM -0400, Alan Stern wrote: On Mon, 23 Mar 2015, Peter Chen wrote: For going on debugging this problem, we need I will have the hardware only for one more day, so I may not be able to get all the information

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Oliver Neukum
On Tue, 2015-03-24 at 18:02 +0700, Lars Melin wrote: On 2015-03-24 17:20, Oliver Neukum wrote: On Mon, 2015-03-23 at 21:11 +0200, Sami Farin wrote: I tried reverting f46ad73ac696 in 4.0.0-rc5, did not help. Have to reboot first into 3.18.9. This happens: [ 2765.268081] usb 2-1.4.4:

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Oliver Neukum
On Tue, 2015-03-24 at 13:26 +0200, Sami Farin wrote: On Tue, Mar 24, 2015 at 18:02:51 +0700, Lars Melin wrote: On 2015-03-24 17:20, Oliver Neukum wrote: ... [ 2777.325282] scsi host37: usb-storage 2-1.4.4:1.0 [ 2777.903039] usb 2-1.4.4: usbfs: interface 0 claimed by usb-storage while

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Sami Farin
On Tue, Mar 24, 2015 at 18:02:51 +0700, Lars Melin wrote: On 2015-03-24 17:20, Oliver Neukum wrote: ... [ 2777.325282] scsi host37: usb-storage 2-1.4.4:1.0 [ 2777.903039] usb 2-1.4.4: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #2 This fails. It comes from

[PATCH] usb: gadget: f_printer: fix dependencies

2015-03-24 Thread Andrzej Pietrasiewicz
If f_printer is selected without legacy g_printer, it should depend on USB_CONFIGFS which pulls in libcomposite. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/Kconfig

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Oliver Neukum
On Mon, 2015-03-23 at 21:11 +0200, Sami Farin wrote: I tried reverting f46ad73ac696 in 4.0.0-rc5, did not help. Have to reboot first into 3.18.9. This happens: [ 2765.268081] usb 2-1.4.4: USB disconnect, device number 16 [ 2777.209388] usb 2-1.4.4: new high-speed USB device number 17 using

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Lars Melin
On 2015-03-24 18:57, Sami Farin wrote: On Tue, Mar 24, 2015 at 12:29:19 +0100, Oliver Neukum wrote: On Tue, 2015-03-24 at 13:26 +0200, Sami Farin wrote: ... 4.0.0-rc5+ does not switch to old Win mode even if I blacklist usb_storage, have to reboot to 3.18.9. Why? Good question. Please post

Re: [PATCH 00/12] USB: chipidea: patchset for performance improvement

2015-03-24 Thread victorascroft
Hello Peter, On 15-03-19 09:19:11, Peter Chen wrote: Hi all, In this patch set, I add some interfaces for tuning the performance of chipidea usb driver. With this set, the USB performance can be improved at some user cases with suitable parameters. The main changes: - Interface to tune

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Lars Melin
On 2015-03-24 17:20, Oliver Neukum wrote: On Mon, 2015-03-23 at 21:11 +0200, Sami Farin wrote: I tried reverting f46ad73ac696 in 4.0.0-rc5, did not help. Have to reboot first into 3.18.9. This happens: [ 2765.268081] usb 2-1.4.4: USB disconnect, device number 16 [ 2777.209388] usb 2-1.4.4:

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Sami Farin
On Tue, Mar 24, 2015 at 12:29:19 +0100, Oliver Neukum wrote: On Tue, 2015-03-24 at 13:26 +0200, Sami Farin wrote: ... 4.0.0-rc5+ does not switch to old Win mode even if I blacklist usb_storage, have to reboot to 3.18.9. Why? Good question. Please post the full dmesg. But do you

Re: cdc_mbim with Huawei E3372, nothing works

2015-03-24 Thread Lars Melin
On 2015-03-24 18:26, Sami Farin wrote: On Tue, Mar 24, 2015 at 18:02:51 +0700, Lars Melin wrote: On 2015-03-24 17:20, Oliver Neukum wrote: ... [ 2777.325282] scsi host37: usb-storage 2-1.4.4:1.0 [ 2777.903039] usb 2-1.4.4: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets

RE: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Liu, Bin
-Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 4:28 PM To: Liu, Bin Cc: Balbi, Felipe; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: musb: only set test mode once On Tue, Mar 24, 2015 at 12:16:25PM -0500, Liu, Bin wrote: Felipe, -Original

Re: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Felipe Balbi
On Tue, Mar 24, 2015 at 12:16:25PM -0500, Liu, Bin wrote: Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 12:11 PM To: Liu, Bin Cc: Balbi, Felipe; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: musb: only set test mode once On Tue, Mar

Re: [GIT PULL] USB fix for v4.0-rc6

2015-03-24 Thread Greg KH
On Tue, Mar 24, 2015 at 12:02:15PM -0500, Felipe Balbi wrote: Hi Greg, Here's a single fix for isp1760. Please consider merging it to usb/linus. cheers The following changes since commit bc465aa9d045feb0e13b4a8f32cc33c1943f62d6: Linux 4.0-rc5 (2015-03-22 16:50:21 -0700) are

Re: [PATCH] usb: musb: add softconnect for host mode

2015-03-24 Thread Felipe Balbi
On Tue, Mar 24, 2015 at 11:49:53PM +0200, Tal Shorer wrote: Mostly out of curiosity, why a debugfs interface and not an attribute in sysfs? mostly out of curiosity, why deleting the entire context ? -- balbi signature.asc Description: Digital signature

Re: [GIT PULL] USB patches for v4.1 merge window

2015-03-24 Thread Greg KH
On Tue, Mar 24, 2015 at 12:08:32PM -0500, Felipe Balbi wrote: Hi Greg, Because of ELC, I have to cut short on patch queueing this time. In any case, we have some pretty good content for v4.1. Patches have been tested with platforms I have around (heh, took me a while to do that remotely)

Re: [PATCH] usb: musb: add softconnect for host mode

2015-03-24 Thread Tal Shorer
Mostly out of curiosity, why a debugfs interface and not an attribute in sysfs? -- 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

Re: [GIT PULL] USB patches for v4.1 merge window

2015-03-24 Thread Felipe Balbi
On Tue, Mar 24, 2015 at 10:58:46PM +0100, Greg KH wrote: On Tue, Mar 24, 2015 at 12:08:32PM -0500, Felipe Balbi wrote: Hi Greg, Because of ELC, I have to cut short on patch queueing this time. In any case, we have some pretty good content for v4.1. Patches have been tested with

Re: Errata for Freescale root-hub TT?

2015-03-24 Thread Peter Chen
On Tue, Mar 24, 2015 at 10:15:38AM -0400, Alan Stern wrote: On Tue, 24 Mar 2015, Peter Chen wrote: On Mon, Mar 23, 2015 at 10:11:04AM -0400, Alan Stern wrote: On Mon, 23 Mar 2015, Peter Chen wrote: For going on debugging this problem, we need I will have the hardware only

[PATCH v4 02/22] usb: dwc2: debugfs: add support for complete register dump

2015-03-24 Thread Mian Yousaf Kaukab
Dump all registers to take a complete snapshot of dwc2 state. Code is inspired by dwc3/debugfs.c Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com --- drivers/usb/dwc2/core.h| 1 + drivers/usb/dwc2/debugfs.c | 357 + 2 files changed, 358

[PATCH v4 01/22] usb: dwc2: move debugfs code to a separate file

2015-03-24 Thread Mian Yousaf Kaukab
Prepare to add more debug code. Moreover, don't save dentry * for each file in struct dwc2_hsotg as clean up is done with debugfs_remove_recursive(). s3c_hsotg_delete_debug() is removed altogether for the same reason. Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com ---

[PATCH v4 04/22] usb: dwc2: implement hibernation during bus suspend/resume

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com Allow controller to enter in hibernation during usb bus suspend and inform both phy and gadget about the suspended state. While in hibernation, the controller can't detect the resume condition. An external mechanism must call usb_phy_set_suspend on

[PATCH v4 03/22] usb: dwc2: add controller hibernation support

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com When suspending usb bus, phy driver may disable controller power. In this case, registers need to be saved on suspend and restored on resume. Signed-off-by: Gregory Herrero gregory.herr...@intel.com --- drivers/usb/dwc2/core.c | 377

[PATCH v4 00/22] usb: third series of updates for dwc2 driver

2015-03-24 Thread Mian Yousaf Kaukab
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 done. This is based on testing/next branch in

[PATCH v4 14/22] usb: dwc2: host: register handle to the phy

2015-03-24 Thread Mian Yousaf Kaukab
If phy driver is present register hcd handle to it. Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com --- drivers/usb/dwc2/hcd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 1cca5e0..919658e 100644 ---

[PATCH v4 22/22] usb: dwc2: host: ensure qtb exists before dereferencing it

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com dwc2_hc_nak_intr could be called with a NULL qtd. Ensure qtd exists before dereferencing it to avoid kernel panic. This happens when using usb to ethernet adapter. Signed-off-by: Gregory Herrero gregory.herr...@intel.com ---

[PATCH v4 17/22] usb: dwc2: host: spinlock urb_enqueue

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com During urb_enqueue, if the urb can't be queued to the endpoint, the urb is freed without any spinlock protection. This leads to memory corruption when concurrent urb_dequeue try to free same urb-hcpriv. Thus, ensure the whole urb_enqueue in

[PATCH v4 16/22] usb: dwc2: host: resume root hub on port connect

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com Once hub is runtime suspended, dwc2 must resume it on port connect event. Else, roothub will stay in suspended state and will not resume transfers. Signed-off-by: Gregory Herrero gregory.herr...@intel.com --- drivers/usb/dwc2/hcd_intr.c | 3 +++ 1

[PATCH v4 20/22] usb: dwc2: remove dwc2_platform.ko

2015-03-24 Thread Mian Yousaf Kaukab
As dwc2 pci module is now exporting dwc2 platform device, include platform.o in dwc2-y and remove USB_DWC2_PLATFORM configuration option. Driver will be built as two modules, dwc2.ko and dwc2_pci.ko. dwc2.ko is the new platform driver. Remove all EXPORT_SYMBOL_GPL as they are not needed any more.

[PATCH v4 18/22] usb: dwc2: host: don't use dma_alloc_coherent with irqs disabled

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com Align buffer must be allocated using kmalloc since irqs are disabled. Coherency is handled through dma_map_single which can be used with irqs disabled. Reviewed-by: Julius Werner jwer...@chromium.org Signed-off-by: Gregory Herrero

[PATCH v4 11/22] usb: dwc2: gadget: powerup controller if needed

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com During vbus session, usb controller needs to exit hibernation if it was previously in suspend state. Since controller will be resetted and configured, there is no need to restore registers. Moreover, set lx_state to L0 on B session. vbus_session

[PATCH v4 12/22] usb: dwc2: gadget: enable otg flag in dual role configuration

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com Signed-off-by: Gregory Herrero gregory.herr...@intel.com --- drivers/usb/dwc2/gadget.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 56a08ac..eb906bd 100644 ---

[PATCH v4 10/22] usb: dwc2: gadget: prevent new request submission during suspend

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com If usb controller is in partial power down, any write to registers may cause unpredictable behavior. Thus, prevent any new request submission once controller is in partial power down. Signed-off-by: Gregory Herrero gregory.herr...@intel.com ---

[PATCH v4 06/22] usb: dwc2: add external_id_pin_ctl core parameter

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com This is required due to an Intel specific hardware issue. Where id- pin setup causes glitches on the interrupt line when CONIDSTSCHG interrupt is enabled. Specify external_id_pin_ctl when an external driver (for example phy) can handle id change,

[PATCH v4 09/22] usb: dwc2: gadget: ignore pm suspend/resume in L2

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com Nothing to be done in pm suspend/resume when controller is in L2. Don't disconnect or reset. State is already saved when putting controller in hibernation and will be restored on USB bus resume. Signed-off-by: Gregory Herrero

[PATCH v4 08/22] usb: dwc2: gadget: use reset detect interrupt

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com ResetDet interrupt is used to detect a reset of the bus while the controller is suspended. This may happens for example when using Command Verifier. Signed-off-by: Gregory Herrero gregory.herr...@intel.com --- drivers/usb/dwc2/gadget.c | 19

[PATCH v4 05/22] usb: dwc2: controller must update lx_state before releasing lock

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com During suspend, there could a race condition between ep_queue and suspend interrupt if lx_state is updated after releasing spinlock in call_gadget(hsotg, suspend). Signed-off-by: Gregory Herrero gregory.herr...@intel.com ---

[PATCH v4 07/22] usb: dwc2: set parameter values in probe function

2015-03-24 Thread Mian Yousaf Kaukab
So the parameters can be used in both host and gadget modes. Also consolidate param functions in the core.h Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com --- drivers/usb/dwc2/core.c | 19 +++ drivers/usb/dwc2/core.h | 13 ++--- drivers/usb/dwc2/hcd.c

[PATCH v4 13/22] usb: dwc2: gadget: remove s3c_hsotg_ep_disable_force

2015-03-24 Thread Mian Yousaf Kaukab
Force argument is not used anymore. Clean up leftovers from https://lkml.org/lkml/2014/12/9/283 Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com --- drivers/usb/dwc2/gadget.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/usb/dwc2/gadget.c

[PATCH v4 21/22] usb: dwc2: add hibernation core parameter

2015-03-24 Thread Mian Yousaf Kaukab
From: Gregory Herrero gregory.herr...@intel.com dwc2 may not be able to exit from hibernation if the hardware does not provide a way to detect resume signalling in this state. Thus, add the possibility to disable hibernation feature. Signed-off-by: Gregory Herrero gregory.herr...@intel.com ---

Re: [PATCH v2] USB: serial: add nt124 usb to serial driver

2015-03-24 Thread Johan Hovold
On Tue, Mar 03, 2015 at 11:57:04AM -0600, George McCollister wrote: This driver is for the NovaTech 124 4x serial expansion board for the NovaTech OrionLXm. Firmware source code can be found here: https://github.com/novatechweb/nt124 Signed-off-by: George McCollister

Re: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Felipe Balbi
On Fri, Mar 20, 2015 at 04:49:58PM -0500, Bin Liu wrote: The MUSB test mode register can only be set once, otherwise the result is undefined. This prevents the debugfs testmode entry to set the register more than once which causes test failure. Signed-off-by: Bin Liu b-...@ti.com ---

Re: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-24 Thread Felipe Balbi
On Mon, Mar 23, 2015 at 08:40:58PM -0500, Liu, Bin wrote: Felipe, -Original Message- From: Balbi, Felipe Sent: Monday, March 23, 2015 7:37 PM To: Liu, Bin Cc: linux-usb@vger.kernel.org; Balbi, Felipe Subject: Re: [PATCH] usb: musb: do not backup/restore registers in runtime

Re: [PATCH] usb: isp1760: fix spin unlock in the error path of isp1760_udc_start

2015-03-24 Thread Felipe Balbi
On Fri, Mar 20, 2015 at 02:27:40PM +, Sudeep Holla wrote: Hi Laurent, On 20/03/15 14:20, Laurent Pinchart wrote: Hi Sudeep, Thank you for the patch. On Friday 20 March 2015 11:42:17 Sudeep Holla wrote: Commit a124820de5fd (usb: isp1760: fix possible deadlock in isp1760_udc_irq)

Re: [PATCH] usb: isp1760: fix spin unlock in the error path of isp1760_udc_start

2015-03-24 Thread Felipe Balbi
On Tue, Mar 24, 2015 at 11:37:43AM -0500, Felipe Balbi wrote: On Fri, Mar 20, 2015 at 02:27:40PM +, Sudeep Holla wrote: Hi Laurent, On 20/03/15 14:20, Laurent Pinchart wrote: Hi Sudeep, Thank you for the patch. On Friday 20 March 2015 11:42:17 Sudeep Holla wrote: Commit

Re: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Felipe Balbi
On Tue, Mar 24, 2015 at 12:05:20PM -0500, Liu, Bin wrote: Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 11:54 AM To: Liu, Bin Cc: Balbi, Felipe; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: musb: only set test mode once On Tue, Mar

Re: [PATCH] usb: gadget: Check for NULL pointer in disconnect

2015-03-24 Thread Felipe Balbi
On Mon, Mar 23, 2015 at 04:00:37PM -0700, Badhri Jagan Sridharan wrote: Do you really see some udc drivers call it after composite_unbind is called? If it is, you may add dump_stack() to track that error. Besides this, function suspended_show is needed to add cdev NULL pointer checking.

RE: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks

2015-03-24 Thread Liu, Bin
Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 11:33 AM To: Liu, Bin Cc: Balbi, Felipe; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: musb: do not backup/restore registers in runtime PM callbacks On Mon, Mar 23, 2015 at 08:40:58PM -0500, Liu,

RE: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Liu, Bin
Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 11:31 AM To: Liu, Bin Cc: linux-usb@vger.kernel.org; Balbi, Felipe Subject: Re: [PATCH] usb: musb: only set test mode once On Fri, Mar 20, 2015 at 04:49:58PM -0500, Bin Liu wrote: The MUSB test mode

Re: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Felipe Balbi
On Tue, Mar 24, 2015 at 11:52:04AM -0500, Liu, Bin wrote: Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 11:31 AM To: Liu, Bin Cc: linux-usb@vger.kernel.org; Balbi, Felipe Subject: Re: [PATCH] usb: musb: only set test mode once On Fri, Mar

RE: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Liu, Bin
Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 12:11 PM To: Liu, Bin Cc: Balbi, Felipe; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: musb: only set test mode once On Tue, Mar 24, 2015 at 12:05:20PM -0500, Liu, Bin wrote: Felipe,

[GIT PULL] USB patches for v4.1 merge window

2015-03-24 Thread Felipe Balbi
Hi Greg, Because of ELC, I have to cut short on patch queueing this time. In any case, we have some pretty good content for v4.1. Patches have been tested with platforms I have around (heh, took me a while to do that remotely) and most have been in next for several days. Let me know if you want

Re: [PATCH] cx82310_eth: fix semicolon.cocci warnings

2015-03-24 Thread David Miller
From: kbuild test robot fengguang...@intel.com Date: Tue, 24 Mar 2015 09:51:32 +0800 drivers/net/usb/cx82310_eth.c:175:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Ondrej Zary li...@rainbow-software.org Signed-off-by:

Re: Delivery Status Notification (Failure)

2015-03-24 Thread Cristian
Hello Developers of linux USB: My report: https://bugzilla.kernel.org/show_bug.cgi?id=95441 Thanks, -- Cristian -- 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

Re: [PATCH] usb: gadget: Check for NULL pointer in disconnect

2015-03-24 Thread Peter Chen
On Mon, Mar 23, 2015 at 04:00:37PM -0700, Badhri Jagan Sridharan wrote: Do you really see some udc drivers call it after composite_unbind is called? If it is, you may add dump_stack() to track that error. Besides this, function suspended_show is needed to add cdev NULL pointer checking.

[PATCH] usb: musb: add softconnect for host mode

2015-03-24 Thread Bin Liu
Add a debugfs interface - softconnect - for host mode to connect/disconnect the devices without physically remove the them. This adds the capability to re-enumerate the devices which are permanently mounted on the board with the MUSB controller together. Signed-off-by: Bin Liu b-...@ti.com ---

[PATCH v2] usb: musb: only set test mode once

2015-03-24 Thread Bin Liu
The MUSB test mode register can only be set once, otherwise the result is undefined. This prevents the debugfs testmode entry to set the register more than once which causes test failure. Signed-off-by: Bin Liu b-...@ti.com --- v2: revise the dev_err message. drivers/usb/musb/musb_debugfs.c |

RE: [PATCH] usb: musb: only set test mode once

2015-03-24 Thread Liu, Bin
Felipe, -Original Message- From: Balbi, Felipe Sent: Tuesday, March 24, 2015 11:54 AM To: Liu, Bin Cc: Balbi, Felipe; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: musb: only set test mode once On Tue, Mar 24, 2015 at 11:52:04AM -0500, Liu, Bin wrote: Felipe,

[GIT PULL] USB fix for v4.0-rc6

2015-03-24 Thread Felipe Balbi
Hi Greg, Here's a single fix for isp1760. Please consider merging it to usb/linus. cheers The following changes since commit bc465aa9d045feb0e13b4a8f32cc33c1943f62d6: Linux 4.0-rc5 (2015-03-22 16:50:21 -0700) are available in the git repository at:

Re: Errata for Freescale root-hub TT?

2015-03-24 Thread Peter Chen
On Mon, Mar 23, 2015 at 10:11:04AM -0400, Alan Stern wrote: On Mon, 23 Mar 2015, Peter Chen wrote: For going on debugging this problem, we need I will have the hardware only for one more day, so I may not be able to get all the information you want. - Your bus analyzer file, I think