From: Kuninori Morimoto Date: Tue, 11 Oct 2011 05:00:42 +0000 (-0700) Subject: usb: gadget: renesas_usbhs: each pipe hold maxpacket size X-Git-Tag: v3.2-rc1~183^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd097e727466cda1b22beca6cb11096b8be88d2;p=pandora-kernel.git usb: gadget: renesas_usbhs: each pipe hold maxpacket size Current renesas_usbhs pipe accessed DCPMAXP/PIPEMAXP register to get own maxpacket size every time. But maxpacket size isn't changed after pipe start, and register access is too slow. This patch adds new maxp variable to keep own maxpacket. And un-used function are removed. Signed-off-by: Kuninori Morimoto Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed