From: Magnus Damm Date: Wed, 19 Aug 2009 14:19:08 +0000 (+0000) Subject: usb: r8a66597-udc buffer management update X-Git-Tag: v2.6.32-rc1~640^2~35^2~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef5ce3b69028ea32aa87e98c9a3802e7c9f824b6;p=pandora-kernel.git usb: r8a66597-udc buffer management update This patch updates the r8a66597-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. The m66592 driver recently got fixed in a similar way. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed