diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-01-16 15:12:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 14:34:09 -0800 |
commit | 8457d99cab81e91724b43363f7fccd851d766187 (patch) | |
tree | 92b6e613c007894e2da249008b68b9bd7637b26f /scripts/bloat-o-meter | |
parent | cafbe85fb0d00d32988905c4978df433ca9b6512 (diff) |
USB: cdc-wdm: no need to use usb_alloc_coherent
As Documentation/usb/dma.txt states:
Most drivers should *NOT* be using these primitives; they don't need
to use this type of memory (dma-coherent), and memory returned from
kmalloc() will work just fine.
This driver handle only very low bandwith transfers. It is not an
obvious candidate for usb_alloc_coherent().
Using these calls only serves to complicate the code for no gain,
as has been shown by multiple bugs related to this allocation path.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions