diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-23 11:20:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-23 11:21:03 -0500 |
commit | c69263c66e5b2a5d0c7e5a41c189b1846ae1de92 (patch) | |
tree | 81c6cf0f5b3b05739e2e73b0118077d9dd245182 /drivers/usb/host/xhci-mem.c | |
parent | 45196cee28a5bcfb6ddbe2bffa4270cbed66ae4b (diff) | |
parent | 5407a3c3d942e75d4d123d213fd692bce5acc961 (diff) |
Merge branch 'usb-3.3-rc4' into usb-next
This is to pull in the xhci changes and the other fixes and device id
updates that were done in Linus's tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 383fc857491c..8339d826ce58 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -2157,7 +2157,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | |||
2157 | unsigned int val, val2; | 2157 | unsigned int val, val2; |
2158 | u64 val_64; | 2158 | u64 val_64; |
2159 | struct xhci_segment *seg; | 2159 | struct xhci_segment *seg; |
2160 | u32 page_size; | 2160 | u32 page_size, temp; |
2161 | int i; | 2161 | int i; |
2162 | 2162 | ||
2163 | page_size = xhci_readl(xhci, &xhci->op_regs->page_size); | 2163 | page_size = xhci_readl(xhci, &xhci->op_regs->page_size); |
@@ -2340,6 +2340,15 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | |||
2340 | 2340 | ||
2341 | INIT_LIST_HEAD(&xhci->lpm_failed_devs); | 2341 | INIT_LIST_HEAD(&xhci->lpm_failed_devs); |
2342 | 2342 | ||
2343 | /* Enable USB 3.0 device notifications for function remote wake, which | ||
2344 | * is necessary for allowing USB 3.0 devices to do remote wakeup from | ||
2345 | * U3 (device suspend). | ||
2346 | */ | ||
2347 | temp = xhci_readl(xhci, &xhci->op_regs->dev_notification); | ||
2348 | temp &= ~DEV_NOTE_MASK; | ||
2349 | temp |= DEV_NOTE_FWAKE; | ||
2350 | xhci_writel(xhci, temp, &xhci->op_regs->dev_notification); | ||
2351 | |||
2343 | return 0; | 2352 | return 0; |
2344 | 2353 | ||
2345 | fail: | 2354 | fail: |