]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: renesas_usbhs: move done callback to struct usbhs_pkt
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Oct 2011 05:04:41 +0000 (22:04 -0700)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:41:44 +0000 (20:41 +0300)
commit25df7199a95483f4beb1f9365640a10c46c88130
tree2337bac307e1dc6998bb010b00a4fcc7b0015fd2
parentacff967b6fcf648b2fda70b7f7152e1049b218de
usb: gadget: renesas_usbhs: move done callback to struct usbhs_pkt

transfer done function was registered in struct struct usbhs_pipe_info.
It was good for mod_gadget, but not good for mod_host.
This function move it to struct usbhs_pkt.

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