USB: don't use a fixed DMA mapping for hub status URBs
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 27 Oct 2009 19:18:46 +0000 (15:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:18 +0000 (11:55 -0800)
commitd697cdda43939a80432863e2e26df6701ce72b63
tree3ec15d51e6a9f1e92697de95e41b5261f5da098b
parentdccd574cccad950d9ed9bc192eae4089c6044d9d
USB: don't use a fixed DMA mapping for hub status URBs

This patch (as1296) gets rid of the fixed DMA-buffer mapping used by
the hub driver for its status URB.  This URB doesn't get used much --
mainly when a device is plugged in or unplugged -- so the dynamic
mapping overhead is minimal.  And most systems have many fewer
external hubs than root hubs, which don't need a mapped buffer anyway.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c