commit | 7fd097e727466cda1b22beca6cb11096b8be88d2 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Mon Oct 10 22:00:42 2011 -0700 |
committer | Felipe Balbi <balbi@ti.com> | Thu Oct 13 20:41:32 2011 +0300 |
tree | b47921653186127abf2ea24e538f2cb9fb95370f | |
parent | f5aa889f725b56934171f9845cf00a17de9cc76c [diff] |
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 <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>