[PATCH] USB: don't allocate dma pools for PIO HCDs
authorChris Humbert <mahadri-kernel@drigon.com>
Mon, 28 Nov 2005 17:29:23 +0000 (09:29 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:39 +0000 (13:51 -0800)
commitbd39b7f195e5a780a3c6710eb1c1450f158a1f31
tree34c57ff00c5779a571c9ab5f5a592093594f3aee
parent5d3202949c9ac6e135d98bde15a8f05ad3fa5849
[PATCH] USB: don't allocate dma pools for PIO HCDs

USB: don't allocate dma pools for PIO HCDs

hcd_buffer_alloc() and hcd_buffer_free() have a similar dma_mask
check and revert to kmalloc()/kfree(), but hcd_buffer_create()
doesn't check dma_mask and allocates unused dma pools.

Signed-off-by: Chris Humbert <mahadri-kernel@drigon.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/buffer.c