Re: [PATCH v2 3/4] mfd: dln2: add start/stop RX URBs helpers

2015-01-07 Thread Johan Hovold
On Tue, Dec 16, 2014 at 05:57:14PM +0200, Octavian Purdila wrote: This is in preparation for adding suspend / resume support. Signed-off-by: Octavian Purdila octavian.purd...@intel.com --- drivers/mfd/dln2.c | 51 +-- 1 file changed, 41

Re: [PATCH v2 4/4] mfd: dln2: add suspend/resume functionality

2015-01-07 Thread Johan Hovold
On Tue, Dec 16, 2014 at 05:57:15PM +0200, Octavian Purdila wrote: Without suspend/resume functionality in the USB driver the USB core will disconnect and reconnect the DLN2 port and because the GPIO framework does not yet support removal of an in-use controller a suspend/resume operation will

Re: [PATCH 1/1] x86: Added support for Japanese Surface Type Cover 3

2015-01-07 Thread Jiri Kosina
On Tue, 6 Jan 2015, Alan Wu wrote: Based on code for the US Surface Type Cover 3 from commit be3b16341d5cd8cf2a64fcc7a604a8efe6599ff0 (HID: add support for MS Surface Pro 3 Type Cover): Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] USB: qcserial/option: make AT URCs work for Sierra Wireless MC73xx

2015-01-07 Thread Johan Hovold
On Tue, Jan 06, 2015 at 10:06:38PM +0100, Reinhard Speyerer wrote: As has been discussed in the thread starting with https://lkml.kernel.org/g/549748e9.d+sijzqu50f1r4lsal043...@arcor.de Sierra Wireless MC73xx devices with USB VID/PID 0x1199:0x68c0 require the option_send_setup() code to be

Re: [PATCH v2 1/4] gpio: dln2: fix issue when an IRQ is unmasked then enabled

2015-01-07 Thread Linus Walleij
On Tue, Dec 16, 2014 at 4:57 PM, Octavian Purdila octavian.purd...@intel.com wrote: As noticed during suspend/resume operations, the IRQ can be unmasked then disabled in suspend and eventually enabled in resume, but without being unmasked. The current implementation does not take into

Re: [PATCH] snd-usb-audio: Add support for Akai MPC Element MIDI controller

2015-01-07 Thread Clemens Ladisch
Paul Bonser wrote: On 01/06/2015 07:39 AM, Clemens Ladisch wrote: Paul Bonser wrote: This device incorrectly reports its bInterfaceClass as 255, when it should really be 1 (USB_CLASS_AUDIO). +++ b/sound/usb/quirks-table.h +{ + /* Akai MPC Element */ + USB_DEVICE(0x09e8, 0x0021), +

Re: [PATCH 2/2 resend v2] USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform

2015-01-07 Thread Andreas Herrmann
On Tue, Jan 06, 2015 at 10:49:40AM -0500, Alan Stern wrote: On Tue, 6 Jan 2015, Andreas Herrmann wrote: ehci-octeon driver used a 64-bit dma_mask. With removal of ehci-octeon and usage of ehci-platform ehci dma_mask is now limited to 32 bits (coerced in ehci_platform_probe). Provide

[PATCH v2 1/3] scsi: add ability to adjust module reference for scsi host

2015-01-07 Thread Akinobu Mita
While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template. This mapping between scsi_device and underlying LLDD module works well except some scsi drivers (ufs and unusual usb

[PATCH v2 0/3] scsi: ufs ums-*: fix module reference counting

2015-01-07 Thread Akinobu Mita
While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template. This mapping between scsi_device and underlying LLDD module works well except some scsi drivers (ufs and unusual usb

Re: [Bug 90941] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.

2015-01-07 Thread Cristian
Hello Gurus, See message of dmesg: [ 5136.529349] xhci_hcd :00:14.0: Setup ERROR: setup context command for slot 1. [ 5136.529351] usb 1-1: hub failed to enable device, error -22 [ 5136.788988] usb 1-1: reset low-speed USB device number 2 using xhci_hcd [ 5136.789008] xhci_hcd :00:14.0:

Re: [PATCH v2 0/5] usb: atmel_usba_udc: Rework errata handling

2015-01-07 Thread Alexandre Belloni
Hi, The whole series looks good to me, you can add my Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com On 06/01/2015 at 14:46:57 +0100, Boris Brezillon wrote : Hello, Here is a set of patches porting existing at91sam9rl erratum handling to DT and adding new code to handle

Re: USB 3.0 storage keep reconnecting after safely removed

2015-01-07 Thread Hans de Goede
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 is a USB 3.0 dock functioning as a USB 3.0 hub. This has two USB 3.0 ports

Re: kernel panic with USB3+DVB+ARM

2015-01-07 Thread Mathias Nyman
On 06.01.2015 22:00, JPT wrote: Am 06.01.2015 um 18:38 schrieb Greg KH: On Tue, Jan 06, 2015 at 11:47:29AM +0100, JPT wrote: Hi Greg Am 06.01.2015 um 02:54 schrieb Greg KH: Is that where the kernel panics show the problem happens? Without them, there's nothing we can do to help out except

Re: [PATCH v2 4/4] mfd: dln2: add suspend/resume functionality

2015-01-07 Thread Octavian Purdila
On Wed, Jan 7, 2015 at 11:26 PM, Johan Hovold jo...@kernel.org wrote: On Tue, Dec 16, 2014 at 05:57:15PM +0200, Octavian Purdila wrote: Without suspend/resume functionality in the USB driver the USB core will disconnect and reconnect the DLN2 port and because the GPIO framework does not yet

Re: [PATCH v2 4/4] mfd: dln2: add suspend/resume functionality

2015-01-07 Thread Johan Hovold
On Thu, Jan 08, 2015 at 02:16:15AM +1300, Octavian Purdila wrote: On Wed, Jan 7, 2015 at 11:26 PM, Johan Hovold jo...@kernel.org wrote: On Tue, Dec 16, 2014 at 05:57:15PM +0200, Octavian Purdila wrote: Without suspend/resume functionality in the USB driver the USB core will disconnect and

Re: [xhci_hcd] USB3 device unplug breaks system suspend

2015-01-07 Thread Alan Stern
On Tue, 6 Jan 2015, Tobias Jakobi wrote: Just a short note that the issue remains with vanilla 3.18.1. It won't go away until somebody fixes it. You should bring this to the attention of the xhci-hcd maintainer after he returns from vacation. Alan Stern -- To unsubscribe from this list:

Re: Difference between run time and normal suspend

2015-01-07 Thread Alan Stern
On Wed, 7 Jan 2015, vichy wrote: I attach usbmon for your reference. But keyboard is still not working on runtime suspend. The usbmon trace resembles what I got during a test some time ago. I don't remember the details; the problem was related to the fact that the keyboard had two HID

Re: [PATCH v2 00/30] usb: updates for dwc2 gadget driver

2015-01-07 Thread Dinh Nguyen
On 01/07/2015 09:34 AM, Kaukab, Yousaf wrote: Hi, -Original Message- From: Dinh Nguyen [mailto:dingu...@opensource.altera.com] Sent: Wednesday, January 7, 2015 1:01 AM To: Paul Zimmerman; Kaukab, Yousaf; linux-usb@vger.kernel.org; ba...@ti.com Cc: Herrero, Gregory;

Re: [PATCH v2 3/3] usb: storage: adjust module reference for scsi host

2015-01-07 Thread Alan Stern
On Wed, 7 Jan 2015, Akinobu Mita wrote: While accessing a unusual usb storage (ums-alauda, ums-cypress, ...), the module reference count is not incremented. Because these drivers allocate scsi hosts with usb_stor_host_template defined in usb-storage module. So these drivers always can be

Re: [PATCH v2 0/3] scsi: ufs ums-*: fix module reference counting

2015-01-07 Thread Alan Stern
On Wed, 7 Jan 2015, Christoph Hellwig wrote: On Wed, Jan 07, 2015 at 11:02:59PM +0900, Akinobu Mita wrote: While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template.

Re: USB 3.0 storage keep reconnecting after safely removed

2015-01-07 Thread Alan Stern
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 is a USB 3.0 dock functioning as a USB 3.0 hub. This has two USB 3.0 ports in front. I connected a USB HDD

Re: Lockdep problem: v3.18+ (with yesterday's Linus tip - 6f51ee709e4c)

2015-01-07 Thread Alan Stern
On Thu, 18 Dec 2014, Greg Kroah-Hartman wrote: On Thu, Dec 18, 2014 at 02:40:48PM -0500, Alan Stern wrote: On Thu, 18 Dec 2014, Russell King - ARM Linux wrote: While unplugging a Logitek Keyboard/mouse micro-receiver, I got the lockdep splat below. However, I don't fully

Re: Lockdep problem: v3.18+ (with yesterday's Linus tip - 6f51ee709e4c)

2015-01-07 Thread Russell King - ARM Linux
On Wed, Jan 07, 2015 at 10:42:14AM -0500, Alan Stern wrote: On Thu, 18 Dec 2014, Greg Kroah-Hartman wrote: That seems reasonable to me, unbinding when a reset is happening is going to be a rare condition, but if we get rid of it, and we try to queue a reset for a device that is gone, we

Re: [PATCH v2 00/30] usb: updates for dwc2 gadget driver

2015-01-07 Thread Dinh Nguyen
Hi Yousaf, On 01/07/2015 09:47 AM, Kaukab, Yousaf wrote: -Original Message- From: Dinh Nguyen [mailto:dingu...@opensource.altera.com] Sent: Wednesday, January 7, 2015 4:39 PM To: Kaukab, Yousaf; Paul Zimmerman; linux-usb@vger.kernel.org; ba...@ti.com Cc: Herrero, Gregory;

Re: kernel panic with USB3+DVB+ARM

2015-01-07 Thread JPT
Hi, I got a similar crash now with USB-2.0. Took longer to happen, but did, see attached log. This makes it more likely the problem is located in DVB code not USB. Will try it on my PC now. At least I already get messages like kernel: [680947.641704] technisat-usb2: i2c-error: 60 = 7 If it

RE: [PATCH v2 00/30] usb: updates for dwc2 gadget driver

2015-01-07 Thread Kaukab, Yousaf
Hi Dinh, -Original Message- From: Dinh Nguyen [mailto:dingu...@opensource.altera.com] Sent: Wednesday, January 7, 2015 5:26 PM To: Kaukab, Yousaf; Paul Zimmerman; linux-usb@vger.kernel.org; ba...@ti.com Cc: Herrero, Gregory; sergei.shtyl...@cogentembedded.com; r.bald...@samsung.com

Re: Difference between run time and normal suspend

2015-01-07 Thread vichy
hi alan: 2015-01-06 23:54 GMT+08:00 Alan Stern st...@rowland.harvard.edu: On Tue, 6 Jan 2015, vichy wrote: But I cannot see the keyboard go to suspend even I force autosuspend as 0. is there any other way to trigger runtime suspend immediately instead of waiting kernel judge it is idle

[PATCH v2 3/3] usb: storage: adjust module reference for scsi host

2015-01-07 Thread Akinobu Mita
While accessing a unusual usb storage (ums-alauda, ums-cypress, ...), the module reference count is not incremented. Because these drivers allocate scsi hosts with usb_stor_host_template defined in usb-storage module. So these drivers always can be unloaded. This fixes it by passing correct

RE: [PATCH v2 00/30] usb: updates for dwc2 gadget driver

2015-01-07 Thread Kaukab, Yousaf
Hi, -Original Message- From: Dinh Nguyen [mailto:dingu...@opensource.altera.com] Sent: Wednesday, January 7, 2015 1:01 AM To: Paul Zimmerman; Kaukab, Yousaf; linux-usb@vger.kernel.org; ba...@ti.com Cc: Herrero, Gregory; sergei.shtyl...@cogentembedded.com; r.bald...@samsung.com

RE: [PATCH v2 00/30] usb: updates for dwc2 gadget driver

2015-01-07 Thread Kaukab, Yousaf
-Original Message- From: Dinh Nguyen [mailto:dingu...@opensource.altera.com] Sent: Wednesday, January 7, 2015 4:39 PM To: Kaukab, Yousaf; Paul Zimmerman; linux-usb@vger.kernel.org; ba...@ti.com Cc: Herrero, Gregory; sergei.shtyl...@cogentembedded.com; r.bald...@samsung.com Subject:

Re: [PATCH v2 0/3] scsi: ufs ums-*: fix module reference counting

2015-01-07 Thread Christoph Hellwig
On Wed, Jan 07, 2015 at 11:02:59PM +0900, Akinobu Mita wrote: While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template. This mapping between scsi_device and underlying LLDD

Re: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2015-01-07 Thread Dinh Nguyen
On 01/05/2015 09:02 PM, Paul Zimmerman wrote: From: Kever Yang [mailto:kever.y...@rock-chips.com] Sent: Monday, January 05, 2015 5:42 PM Hi Paul, I think you need this patch to fix the problem: usb: dwc2: resume root hub when device detect with suspend state