]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a0e12fd52215dbd7f8119c8b04598742e65d953
tree3ec15d51e6a9f1e92697de95e41b5261f5da098b
parent4536c539412c21dc86e47ccceab9b23fc16c43ed
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