]> Pileus Git - ~andy/linux/commitdiff
Merge tag 'for-usb-2013-08-15-step-1' into for-usb-next
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 16 Aug 2013 01:00:46 +0000 (18:00 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 16 Aug 2013 01:00:46 +0000 (18:00 -0700)
xhci: Step 1 to fix usb-linus and usb-next.

Hi Greg,

This is the first of three steps to fix your usb-linus and usb-next
trees.  As I mentioned, commit 4fae6f0fa86f92e6bc7429371b1e177ad0aaac66
"USB: handle LPM errors during device suspend correctly" was incorrectly
added to usb-next when it should have been added to usb-linus and marked
for stable.

Two port power off bug fixes touch the same code that patch touches, but
it's not easy to simply move commit 4fae6f0f patch to usb-linus because
commit 28e861658e23ca94692f98e245d254c75c8088a7 "USB: refactor code for
enabling/disabling remote wakeup" also touched those code sections.

I propose a two step process to fix this:

1. Pull these four patches into usb-linus.

2. Revert commit 28e861658e23ca94692f98e245d254c75c8088a7 from usb-next.
   Merge usb-linus into usb-next, and resolve the conflicts.

I will be sending pull requests for these steps.

This pull request is step one, and contains the backported version of
commit 4fae6f0fa86f92e6bc7429371b1e177ad0aaac66, the two port power off
fixes, and an unrelated xhci-plat bug fix.

Sarah Sharp

Resolved conflicts:
drivers/usb/core/hub.c

13 files changed:
1  2 
MAINTAINERS
drivers/usb/class/usbtmc.c
drivers/usb/core/hub.c
drivers/usb/host/ehci-sched.c
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h
drivers/usb/misc/adutux.c
drivers/usb/serial/keyspan.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/ti_usb_3410_5052.c
drivers/usb/wusbcore/wa-xfer.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
index b150360d1e784936afbb3c5d28e2ca327c554a2d,6f8c2fd47675dc2432902f5fbf8b4cfec8a306de..53b972c2a09f10be38a474042d03757618bc76a4
  #include <linux/pci.h>
  #include <linux/slab.h>
  #include <linux/dmapool.h>
+ #include <linux/dma-mapping.h>
  
  #include "xhci.h"
 +#include "xhci-trace.h"
  
  /*
   * Allocates a generic ring segment from the ring pool, sets the dma address,
Simple merge
index 7299b591a341286726e2cc90a9d826a506271339,ead3555d6dba5e149dcdd508ec05a1717a479151..ba0ec0a964819168bb916a6888f6fefe3e637832
  #include <linux/moduleparam.h>
  #include <linux/slab.h>
  #include <linux/dmi.h>
+ #include <linux/dma-mapping.h>
  
  #include "xhci.h"
 +#include "xhci-trace.h"
  
  #define DRIVER_AUTHOR "Sarah Sharp"
  #define DRIVER_DESC "'eXtensible' Host Controller (xHC) Driver"
Simple merge
index 7078e9bf0fc0280a8e2a7bec0278eee259abcd29,eeb27208c0d153de863f16ba12e62d0222e8c5d3..3eaa83f05086f90dba7f58df3902610d02537e72
@@@ -783,9 -830,11 +783,9 @@@ static int adu_probe(struct usb_interfa
  
        /* let the user know what node this device is now attached to */
        dev_info(&interface->dev, "ADU%d %s now attached to /dev/usb/adutux%d\n",
-                udev->descriptor.idProduct, dev->serial_number,
+                le16_to_cpu(udev->descriptor.idProduct), dev->serial_number,
                 (dev->minor - ADU_MINOR_BASE));
  exit:
 -      dbg(2, " %s : leave, return value %p (dev)", __func__, dev);
 -
        return retval;
  
  error:
Simple merge
Simple merge
Simple merge
Simple merge