diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-01-06 16:17:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-23 03:36:43 +0100 |
commit | f75593ceaa08e6d27aec1a5de31cded19e850dd1 (patch) | |
tree | 884e842e5ad6dbfd8035f8615106936d68c48a30 /MAINTAINERS | |
parent | USB: pch_udc: support new device ML7213 IOH (diff) | |
download | linux-f75593ceaa08e6d27aec1a5de31cded19e850dd1.tar.xz linux-f75593ceaa08e6d27aec1a5de31cded19e850dd1.zip |
USB: EHCI: fix DMA deallocation bug
This patch (as1440) fixes a bug in ehci-hcd. ehci->periodic_size is
used to compute the size in a dma_alloc_coherent() call, but then it
gets changed later on. As a result, the corresponding call to
dma_free_coherent() passes a different size from the original
allocation. Fix the problem by adjusting ehci->periodic_size before
carrying out any of the memory allocations.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
CC: David Brownell <david-b@pacbell.net>
CC: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions