Re: [PATCH v11 0/8] PHY framework

2013-08-26 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 21 August 2013 11:16 AM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will

Re: am335x: support for multiple USB instances, v3

2013-08-26 Thread Lars Poeschel
On Friday 02 August 2013 at 21:24:05, Sebastian Andrzej Siewior wrote: Hi, this series depends on Felipe's master tree and usb: phy: rename nop_usb_xceiv = usb_phy_gen_xceiv which I posted earlier. I created a -rc3 based branch for that patch [0]. If you fine with this please let Tony know.

Re: [PATCH 11/11] dma: cpp41: enable pm_runtime during init

2013-08-26 Thread Vinod Koul
On Tue, Aug 20, 2013 at 06:35:53PM +0200, Sebastian Andrzej Siewior wrote: With enabled pm_runtime in the kernel the device won't work because it is not on during the probe function. This patch enables the device via pm_runtime on probe so it remains activated. Cc: Vinod Koul

Re: 3.10.4: kmemleak in usb_get_bos_descriptor()?

2013-08-26 Thread Xenia Ragiadakou
On 08/23/2013 05:07 PM, Alan Stern wrote: On Fri, 23 Aug 2013, Xenia Ragiadakou wrote: Martin is right; the BOS descriptors are leaked in usb_reset_and_verify_device(). We need to store the old descriptor, compare it with the new one following the reset, and delete one of them afterward. I

Re: Reg: USB: ehci-omap: Suspend the controller during idle.

2013-08-26 Thread Roger Quadros
Hi Bharat, On 08/26/2013 02:29 PM, Bharathraj Nagaraju wrote: Dear All, With continuation to below mail, our client requirement is pushing us to implement the EHCI runtime suspend/resume. I have implemented EHCI runtime suspend/resume using timer concept,Please find the below design

Re: 3.11-rc7: compile failure in ohci

2013-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 26, 2013 at 12:46:03PM +0300, Meelis Roos wrote: Tried 3.11-rc7 and got this compile failure on a couple of hosts where -rc6 worked. config is below. This commit seems to break it:

Re: [PATCH v1 23/49] hid: usbhid: prepare for enabling irq in complete()

2013-08-26 Thread Jiri Kosina
On Sun, 18 Aug 2013, Ming Lei wrote: Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Jiri Kosina jkos...@suse.cz Cc: linux-in...@vger.kernel.org Signed-off-by: Ming Lei ming@canonical.com Acked-by: Jiri Kosina jkos...@suse.cz ---

[RfC PATCH] xhci: fix usb3 streams

2013-08-26 Thread Gerd Hoffmann
xhci maintains a radix tree for each stream endpoint because it must be able to map a trb address to the stream ring. Each ring segment must be added to the ring for this to work. Currently xhci sticks only the first segment of each stream ring into the radix tree. Result is that things work

RE: Reg: USB: ehci-omap: Suspend the controller during idle.

2013-08-26 Thread Bharathraj Nagaraju
On 08/26/2013 02:29 PM, Bharathraj Nagaraju wrote: Dear All, With continuation to below mail, our client requirement is pushing us to implement the EHCI runtime suspend/resume. I have implemented EHCI runtime suspend/resume using timer concept,Please find the below design and attached

Re: I: Sierra.c USB Serial Driver FAQ/Feature Request

2013-08-26 Thread Dan Williams
On Sat, 2013-08-17 at 18:05 -0400, Peter Hyman wrote: On 08/17/2013 04:58 PM, Forest Bond wrote: snip... Okay, I published it here: http://www.alittletooquiet.net/media/2131024%20CDMA%20EVDO%20CnS%20Reference.pdf For the record, the document states its license as follows:

[PATCH] USB: OHCI: fix build error related to ohci_suspend/resume

2013-08-26 Thread Alan Stern
Commit 9a11899c5e69 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) added missing ohci_suspend and ohci_resume callback pointers, but forgot that these callbacks are declared and defined only when CONFIG_PM is enabled. This patch adds a preprocessor conditional to avoid build errors when

Re: 3.10.4: kmemleak in usb_get_bos_descriptor()?

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Xenia Ragiadakou wrote: I will send a patch as RFC because i am not quite familiar and because i have a problem to run kmemleak effectively (i can only scan for a few seconds, although i have set all necessary kmemleak configuration, i have not figured out why yet).

[PATCH v6 1/8] usb: phy: omap-control: Get rid of platform data

2013-08-26 Thread Roger Quadros
omap-control device is present from OMAP4 onwards which support device tree boots only. So get rid of platform data. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/phy/phy-omap-control.c | 12 +++- include/linux/usb/omap_control_usb.h |4 2 files changed, 3

[PATCH v6 2/8] usb: phy: omap: Add new device types and remove omap_control_usb3_phy_power()

2013-08-26 Thread Roger Quadros
Add support for new device types and in the process rid of ti,type device tree property. The correct type of device will be determined from the compatible string instead. Introduce a compatible string for each device type. At the moment we support 4 types Mailbox, USB2, USB3 and DRA7. Update DT

[PATCH v6 7/8] ARM: dts: omap4: update omap-control-usb nodes

2013-08-26 Thread Roger Quadros
Split otghs_ctrl and USB2 PHY power down into separate omap-control-usb nodes. Get rid of ti,type property. Also get rid of ti,has-mailbox property from usb_otg_hs node and provide the ctrl-module phandle. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v6 8/8] ARM: dts: omap5: update omap-control-usb node

2013-08-26 Thread Roger Quadros
Split USB2 PHY and USB3 PHY into separate omap-control-usb nodes. Get rid of ti,type property. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 20 1 files changed, 12 insertions(+), 8 deletions(-) diff

[PATCH v6 5/8] usb: musb: omap2430: Don't use omap_get_control_dev()

2013-08-26 Thread Roger Quadros
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. Also get rid of ti,has-mailbox property as it is redundant and we can

Re: Trying to develop a Pixelsense kernel driver

2013-08-26 Thread Florian Echtler
On 22.08.2013 17:22, Florian Echtler wrote: On 22.08.2013 16:49, Alan Stern wrote: On Thu, 22 Aug 2013, Florian Echtler wrote: Userspace version: // for control commands usb_control_msg(handle, 0xC0, cmd, 0x00, index, (char*)buf, len, 1000); Kernel version: // for control commands #define

[RFC] usbcore: compare and release one bos descriptor in usb_reset_and_verify_device()

2013-08-26 Thread Xenia Ragiadakou
In usb_reset_and_verify_device(), hub_port_init() allocates a new bos descriptor to hold the value read by the device. The new bos descriptor has to be compared with the old one in order to figure out if device 's firmware has changed in which case the device has to be reenumerated. In the

[PATCH v6 3/8] usb: phy: omap-usb2: Don't use omap_get_control_dev()

2013-08-26 Thread Roger Quadros
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. As we don't support non-DT boot, we just bail out on probe if device node

Memory synchronization vs. interrupt handlers

2013-08-26 Thread Alan Stern
David and Paul: Here's a question that doesn't seem to be answered in Documentation/memory-barriers.txt. Are memory accesses within an interrupt handler synchronized with respect to interrupts? In more detail, suppose we have an interrupt handler that uses a memory variable A. The device

[PATCH v6 6/8] usb: phy: omap: get rid of omap_get_control_dev()

2013-08-26 Thread Roger Quadros
This function was preventing us from supporting multiple instances. Get rid of it. Since we support DT boots only, users can get the control device phandle from the DT node. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/phy/phy-omap-control.c | 31 ++-

[PATCH v6 0/8] phy: omap-usb: Support multiple instances and new types

2013-08-26 Thread Roger Quadros
Hi, This patchset does the following: * Get rid of omap_control_usb platform data as we support DT only. * Restructure and add support for new PHY types. We now support the follwing four types TYPE_OMAP - if it has otghs_control mailbox register (e.g. on OMAP4) TYPE_USB2 - if it has Power

Re: [RFC] usbcore: compare and release one bos descriptor in usb_reset_and_verify_device()

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Xenia Ragiadakou wrote: In usb_reset_and_verify_device(), hub_port_init() allocates a new bos descriptor to hold the value read by the device. The new bos descriptor has to be compared with the old one in order to figure out if device 's firmware has changed in which case

Re: [RFC 2/3] EHCI: convert the IRQ handler to a tasklet

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Ming Lei wrote: On Sat, 24 Aug 2013, Ming Lei wrote: But the current interrupt from EHCI isn't be acked(USBSTS isn't cleared), so EHCI HW don't know the irq has been handled, then it is reasonable that the EHCI interrupt still interrupts CPU. EHCI spec(4.15)

[PATCH v6 4/8] usb: phy: omap-usb3: Don't use omap_get_control_dev()

2013-08-26 Thread Roger Quadros
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. As we don't support non-DT boot, we just bail out on probe if device node

Re: [PATCH] USB: OHCI: fix build error related to ohci_suspend/resume

2013-08-26 Thread Guenter Roeck
On Mon, Aug 26, 2013 at 08:38:40AM -0700, Greg Kroah-Hartman wrote: On Mon, Aug 26, 2013 at 10:53:53AM -0400, Alan Stern wrote: Commit 9a11899c5e69 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) added missing ohci_suspend and ohci_resume callback pointers, but forgot that these

Re: kernel Oops: 0003 on usbhid_submit_report

2013-08-26 Thread Andreas Lillebø Holm
On Friday, August 23, 2013 at 2:49 PM, Jiri Kosina wrote: On Fri, 23 Aug 2013, Benjamin Tissoires wrote: IIRC, Jiri fixed some paging requests with the two following patches:

Re: [PATCH v15 00/13] Add tested id switch and vbus connect detect support for Chipidea

2013-08-26 Thread Hector Palacios
Dear Peter, On 08/12/2013 03:22 AM, Peter Chen wrote: This patchset adds tested otg id switch function and vbus connect and disconnect detection for chipidea driver. And fix kinds of bugs found at chipidea drivers after enabling id and vbus detection. This patch are fully tested at imx6

[PATCH] USB: Fix compilation error when CONFIG_PM disabled

2013-08-26 Thread Shawn Bohrer
Commit 9a11899c5e699a8d USB: OHCI: add missing PCI PM callbacks to ohci-pci.c Introduced the following compilation errors when power management is disabled: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init': drivers/usb/host/ohci-pci.c:309:35: error: 'ohci_suspend' undeclared (first use

Re: [PATCH] USB: Fix compilation error when CONFIG_PM disabled

2013-08-26 Thread Greg KH
On Mon, Aug 26, 2013 at 11:35:14AM -0500, Shawn Bohrer wrote: Commit 9a11899c5e699a8d USB: OHCI: add missing PCI PM callbacks to ohci-pci.c Introduced the following compilation errors when power management is disabled: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init':

Re: [PATCH] USB: Fix compilation error when CONFIG_PM disabled

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Shawn Bohrer wrote: Commit 9a11899c5e699a8d USB: OHCI: add missing PCI PM callbacks to ohci-pci.c Introduced the following compilation errors when power management is disabled: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init':

Re: [PATCH] USB: OHCI: fix build error related to ohci_suspend/resume

2013-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 26, 2013 at 09:06:27AM -0700, Guenter Roeck wrote: On Mon, Aug 26, 2013 at 08:38:40AM -0700, Greg Kroah-Hartman wrote: On Mon, Aug 26, 2013 at 10:53:53AM -0400, Alan Stern wrote: Commit 9a11899c5e69 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) added missing

[RFC v2] usbcore: compare and release one bos descriptor in usb_reset_and_verify_device()

2013-08-26 Thread Xenia Ragiadakou
In usb_reset_and_verify_device(), hub_port_init() allocates a new bos descriptor to hold the value read by the device. The new bos descriptor has to be compared with the old one in order to figure out if device 's firmware has changed in which case the device has to be reenumerated. In the

Re: [PATCH] USB: OHCI: fix build error related to ohci_suspend/resume

2013-08-26 Thread Guenter Roeck
On Mon, Aug 26, 2013 at 09:50:22AM -0700, Greg Kroah-Hartman wrote: On Mon, Aug 26, 2013 at 09:06:27AM -0700, Guenter Roeck wrote: On Mon, Aug 26, 2013 at 08:38:40AM -0700, Greg Kroah-Hartman wrote: On Mon, Aug 26, 2013 at 10:53:53AM -0400, Alan Stern wrote: Commit 9a11899c5e69 (USB:

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Sarah Sharp
On Thu, Aug 22, 2013 at 02:55:07PM -0700, Greg KH wrote: On Thu, Aug 22, 2013 at 02:49:07PM -0700, Sarah Sharp wrote: On Thu, Aug 22, 2013 at 10:42:49AM -0400, Alan Stern wrote: On Wed, 21 Aug 2013, Sarah Sharp wrote: Possible fixes -- The USB core obviously

Re: [RFC v2] usbcore: compare and release one bos descriptor in usb_reset_and_verify_device()

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Xenia Ragiadakou wrote: In usb_reset_and_verify_device(), hub_port_init() allocates a new bos descriptor to hold the value read by the device. The new bos descriptor has to be compared with the old one in order to figure out if device 's firmware has changed in which case

Re: I: Sierra.c USB Serial Driver FAQ/Feature Request

2013-08-26 Thread pete
Quoting Dan Williams d...@redhat.com: On Sat, 2013-08-17 at 18:05 -0400, Peter Hyman wrote: snip Maybe this will move the ball. We'll see. Thank you. Yes, I was given that document by Sierra a couple years ago. No, it doesn't help, because it only covers basic CDMA/EVDO stuff and does not

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Sarah Sharp wrote: One last thought on this note: We know Windows doesn't have high-res timers, and Arjan says asking for a 10 ms delay will produce a delay around 17 ms. Since Linux is busy waiting, we may be communicating with the device sooner than Windows does.

Re: [alsa-devel] Buffer size for ALSA USB PCM audio

2013-08-26 Thread Alan Stern
Clemens and everyone else: Not having heard any responses to the patch posted last Wednesday, I have updated and completed it. The version below is ready for testing. Please let me know what you find. It is not very different from the previous version. I got rid of the nrpacks module

[RFC 3/3] EHCI: handle late isochronous submissions

2013-08-26 Thread Alan Stern
This patch does the real work. It fixes up ehci-hcd so that an URB submitted by a completion handler will keep the isochronous stream alive, even if the handler was delayed by running in a tasklet and the queue has emptied out. As I mentioned earlier, this is not a simple change. Alan Stern

[RFC 2/3] EHCI: rearrange some code

2013-08-26 Thread Alan Stern
This patch merely interchanges the if and else branches of the big if statement in iso_stream_schedule(), in order to simplify the following patch. Alan Stern drivers/usb/host/ehci-sched.c | 92 +- 1 file changed, 47 insertions(+), 45 deletions(-)

[RFC 1/3] Keep track of givebacks in progress

2013-08-26 Thread Alan Stern
This first proposed patch for solving the isochronous stream problem adds a mechanism for seeing whether or not an URB is currently being given back for a particular endpoint. The mechanism isn't perfect. It doesn't use any synchronization, so it's possible that a CPU may think a giveback is

[PATCH] USB: OHCI: Allow runtime PM without system sleep

2013-08-26 Thread Alan Stern
Since ohci-hcd supports runtime PM, the .pm field in its pci_driver structure should be protected by CONFIG_PM rather than CONFIG_PM_SLEEP. Without this change, OHCI controllers won't do runtime suspend if system suspend or hibernation isn't enabled. Signed-off-by: Alan Stern

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Sarah Sharp
On Fri, Aug 23, 2013 at 10:43:19AM -0400, Alan Stern wrote: On Wed, 21 Aug 2013, Sarah Sharp wrote: Background -- The USB 2.0 specification, section 7.1.7.7, says that upon device remote wakeup signaling, the first active hub (which is often the roothub) must rebroadcast

Re: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-26 Thread Sarah Sharp
On Thu, Aug 22, 2013 at 05:11:49AM +, Paul Zimmerman wrote: From: Julius Werner Sent: Wednesday, August 21, 2013 9:22 PM You need the USB 2.0 spec errata from 2011-11 that describes the changes made for BESL as well. It's in the USB2-LPM-Errata-final.pdf and

RE: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-26 Thread Paul Zimmerman
From: Sarah Sharp [mailto:sarah.a.sh...@linux.intel.com] Sent: Monday, August 26, 2013 12:14 PM On Thu, Aug 22, 2013 at 05:11:49AM +, Paul Zimmerman wrote: From: Julius Werner Sent: Wednesday, August 21, 2013 9:22 PM You need the USB 2.0 spec errata from 2011-11 that

RE: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-26 Thread Paul Zimmerman
From: Paul Zimmerman Sent: Monday, August 26, 2013 12:38 PM ... So it may be safer to say that the feature is present starting with 2.50a. In 2.51a it has been well-tested in simulation. In actual hardware, it That should have said: In 2.50a it has been well-tested in simulation... --

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Sarah Sharp wrote: By the way, I just noticed your Google+ posting about this. I think you (and perhaps the engineers you spoke with) may have misunderstood what Table 7-14 means when it lists 10 ms as the _minimum_ value for TRSMRCY. This delay value is a

[RFC 1/4] xhci: replace USB_MAXINTERFACES with config-desc.bNumInterface

2013-08-26 Thread Xenia Ragiadakou
This patch replaces USB_MAXINTERFACES with config-desc.bNumInterface in the termination condition for the loop that updates the LPM timeout of the endpoints on the cofiguration's interfaces, in xhci_calculate_lpm_timeout(), to avoid unnecessary loop cycles since most configurations come with 1-2

[RFC 4/4] xhci: remove conversion from generic to pci device in xhci_mem.c

2013-08-26 Thread Xenia Ragiadakou
This patch removes the to_pci_dev() conversion performed to generic struct device since it is not actually useful (the pointer to the generic device can be used directly rather through a conversion to pci_dev) and it is pci bus specific. Signed-off-by: Xenia Ragiadakou burzalod...@gmail.com ---

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread David Miller
From: Enrico Mioso mrkiko...@gmail.com Date: Fri, 23 Aug 2013 09:56:29 +0200 + if ((on atomic_add_return(1, drvstate-pmcount) == 1) || (!on atomic_dec_and_test(drvstate-pmcount))) { These line significantly exceeds 80 columns. + subdriver =

[RFC 3/4] xhci: remove unnecessary check in xhci_free_stream_info()

2013-08-26 Thread Xenia Ragiadakou
This patch removes the unneccessary check 'if (stream_info)' because there is already a check few lines above which ensures that stream_info is not NULL. Signed-off-by: Xenia Ragiadakou burzalod...@gmail.com --- drivers/usb/host/xhci-mem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread Joe Perches
On Mon, 2013-08-26 at 16:31 -0400, David Miller wrote: From: Enrico Mioso mrkiko...@gmail.com [] + int ret = 0; + struct usbnet *usbnet_dev = usb_get_intfdata(intf); + struct huawei_cdc_ncm_state *drvstate = (void *)usbnet_dev-data; + struct cdc_ncm_ctx *ctx =

Re: 045e:0745 [HP TouchSmart tm2t-2200] No scancode for several keys of Microsoft Comfort Desktop 5000

2013-08-26 Thread Ari Fogel
It seems I had trouble parsing the maze of instructions I've been navigating. I suppose I should have emailed the driver maintainer instead. -- 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 RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread David Miller
From: Joe Perches j...@perches.com Date: Mon, 26 Aug 2013 13:45:13 -0700 I think the premise of local variable declaration by line length is flawed. I disagree. It can't work when local variables are dependent on initialization order as above. Move the initialization below the

Re: failure to resume from suspend cause by 84ebc102

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Adam Borowski wrote: Hi! I'm afraid that your kernel patch 84ebc10294a3d7be4c66f51070b7aedbaa24de9b (USB: remove CONFIG_USB_SUSPEND option) causes lockups on resume from suspend on at least some machines. On kernels from this patch forward up to some point in

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread Joe Perches
On Mon, 2013-08-26 at 16:58 -0400, David Miller wrote: From: Joe Perches j...@perches.com Date: Mon, 26 Aug 2013 13:45:13 -0700 I think the premise of local variable declaration by line length is flawed. I disagree. It can't work when local variables are dependent on

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread David Miller
From: Joe Perches j...@perches.com Date: Mon, 26 Aug 2013 14:05:55 -0700 On Mon, 2013-08-26 at 16:58 -0400, David Miller wrote: From: Joe Perches j...@perches.com Date: Mon, 26 Aug 2013 13:45:13 -0700 I think the premise of local variable declaration by line length is flawed. I

Re: [Bug] [Sony VAIO SVT15117CXS] USB 2.0 ports not working with any USB device

2013-08-26 Thread Kevin Archer
I think the link in my first email was wrong here is the correct link https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1210858 I did run 2.6.33 and 2.6.39 in which the 2 usb ports did appear to work, but the Xserver did not work correctly so I only had command line. On Sat, Aug 24, 2013 at

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread Joe Perches
On Mon, 2013-08-26 at 17:09 -0400, David Miller wrote: From: Joe Perches j...@perches.com [] Don't try to over-simplify things and act as if they are black and white when they aren't. It wasn't me simplifying. I commented on your request to: order local function variable declarations by line

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Greg KH
On Mon, Aug 26, 2013 at 10:45:30AM -0700, Sarah Sharp wrote: On Thu, Aug 22, 2013 at 02:55:07PM -0700, Greg KH wrote: On Thu, Aug 22, 2013 at 02:49:07PM -0700, Sarah Sharp wrote: On Thu, Aug 22, 2013 at 10:42:49AM -0400, Alan Stern wrote: On Wed, 21 Aug 2013, Sarah Sharp wrote:

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Sarah Sharp
On Mon, Aug 26, 2013 at 03:07:25PM -0700, Greg KH wrote: On Mon, Aug 26, 2013 at 10:45:30AM -0700, Sarah Sharp wrote: One last thought on this note: We know Windows doesn't have high-res timers, and Arjan says asking for a 10 ms delay will produce a delay around 17 ms. Since Linux is

Re: [RFC 2/3] EHCI: convert the IRQ handler to a tasklet

2013-08-26 Thread Ming Lei
On Mon, Aug 26, 2013 at 11:29 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 26 Aug 2013, Ming Lei wrote: On Sat, 24 Aug 2013, Ming Lei wrote: But the current interrupt from EHCI isn't be acked(USBSTS isn't cleared), so EHCI HW don't know the irq has been handled, then it is

[RFC v2] usb: Fix xHCI host issues on remote wakeup.

2013-08-26 Thread Sarah Sharp
When a device signals remote wakeup on a roothub, and the suspend change bit is set, the host controller driver must not give control back to the USB core until the port goes back into the active state. EHCI accomplishes this by waiting in the get port status function until the PORT_RESUME bit is

[GIT PATCH] USB fixe for 3.11-rc8

2013-08-26 Thread Greg KH
The following changes since commit d8dfad3876e438b759da3c833d62fb8b2267: Linux 3.11-rc7 (2013-08-25 17:43:22 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.11-rc8 for you to fetch changes up to

Re: [RFT RFC] USB: Fix USB device disconnects on resume.

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Sarah Sharp wrote: I double checked with the Intel Windows devs, and they say that Arjan is mistaken, and they'll get around 11 ms, just like we do. They say: The EHCI driver stack applies the 10 ms starting at the point that it sees C_PORT_SUSPEND asserted for the

Re: [PATCH v15 00/13] Add tested id switch and vbus connect detect support for Chipidea

2013-08-26 Thread Peter Chen
On Mon, Aug 26, 2013 at 06:24:48PM +0200, Hector Palacios wrote: Dear Peter, On 08/12/2013 03:22 AM, Peter Chen wrote: This patchset adds tested otg id switch function and vbus connect and disconnect detection for chipidea driver. And fix kinds of bugs found at chipidea drivers after