usb: gadget: renesas_usbhs: remove desc from usbhs_pipe_malloc
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Oct 2011 04:59:46 +0000 (21:59 -0700)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:40:38 +0000 (20:40 +0300)
commitf5aa889f725b56934171f9845cf00a17de9cc76c
treeb46e855a0859294b60c8d605ad9b980e61769cc8
parent51b8a0218b885b5e527da776e20022273a838893
usb: gadget: renesas_usbhs: remove desc from usbhs_pipe_malloc

Current usbhs_pipe_malloc() used usb_endpoint_descriptor to
get necessary information.
It was very good for mod_gadget which allocate pipe in runtime,
but is not good for mod_host which allocate pipe in initial timing.
This patch remove usb_endpoint_descriptor from usbhs_pipe_malloc()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod_gadget.c
drivers/usb/renesas_usbhs/pipe.c
drivers/usb/renesas_usbhs/pipe.h