From: Magnus Damm Date: Fri, 26 Jun 2009 06:59:17 +0000 (+0000) Subject: usb: m66592-udc buffer management update X-Git-Tag: v2.6.32-rc1~640^2~104^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4048e5ca29afbd747a16245f2bc4d1d521a6d0d0;p=pandora-kernel.git usb: m66592-udc buffer management update This patch updates the m66592-udc buffer management code. Use fixed buffers for bulk and isochronous pipes, also make sure to handle the isochronous-as-bulk case. With fixed buffers there is no need to keep track of used buffers with bi_bufnum. Also, this fixes a potential buffer offset problem where the base offset incorrectly varies with the number of pipes used. With this patch applied it is possible to use m66592-udc for both Ethernet and Serial using CONFIG_USB_CDC_COMPOSITE. Signed-off-by: Magnus Damm Acked-by: Yoshihiro Shimoda Acked-by: Greg Kroah-Hartman Signed-off-by: Paul Mundt --- Reading git-diff-tree failed