linux/drivers/usb/renesas_usbhs
Kuninori Morimoto ee8a0bf5a7 usb: gadget: renesas_usbhs: cleanup complicated ureq alloc/free
DCP data/status stage needs ureq to usbhs_pkt_push(),
but sometimes, there is no data stage.
In that case, allocated ureq was not freed,
Current ureq alloc/free pair were difficult to understand.
This patch removed unnecessary/un-understandable ureq alloc
from usbhsh_urb_enqueue(), and create simpler alloc/free pair.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-12-12 11:45:01 +02:00
..
common.c usb: gadget: renesas_usbhs: unified callback function 2011-12-12 11:44:59 +02:00
common.h usb: gadget: renesas_usbhs: unified callback function 2011-12-12 11:44:59 +02:00
fifo.c usb: gadget: renesas_usbhs: fixup bogus conversion 2011-11-14 11:51:22 -08:00
fifo.h usb: gadget: renesas_usbhs: add data/status stage handler 2011-10-13 20:41:51 +03:00
Kconfig usb: gadget: renesas_usbhs: drop dependency 2011-10-13 20:41:54 +03:00
Makefile usb: gadget: renesas_usbhs: fixup driver compile style 2011-10-13 20:41:54 +03:00
mod_gadget.c usb: gadget: renesas_usbhs: remove usbhs_sys_usb_ctrl() 2011-12-12 11:44:47 +02:00
mod_host.c usb: gadget: renesas_usbhs: cleanup complicated ureq alloc/free 2011-12-12 11:45:01 +02:00
mod.c usb: gadget: renesas_usbhs: unified callback function 2011-12-12 11:44:59 +02:00
mod.h usb: gadget: renesas_usbhs: fixup section mismatch warning 2011-11-14 11:51:23 -08:00
pipe.c usb: gadget: renesas_usbhs: usbhs_dcp_control_transfer_done() cares mod_host 2011-10-13 20:41:51 +03:00
pipe.h usb: gadget: renesas_usbhs: modify pipe sequence settings 2011-10-13 20:41:46 +03:00