From: Bjørn Mork Date: Mon, 16 Jan 2012 14:12:00 +0000 (+0100) Subject: USB: cdc-wdm: no need to use usb_alloc_coherent X-Git-Tag: v3.4-rc1~184^2~22^2~121^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8457d99cab81e91724b43363f7fccd851d766187;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed