usb: gadget: renesas_usbhs: add struct usbhs_priv to packet done function

There was no method to get struct usbhs_priv when
packet transfer done function was called.
This patch allow that callback function receive it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Kuninori Morimoto
2011-10-10 22:03:39 -07:00
committed by Felipe Balbi
parent 923520715b
commit 2cc971978c
4 changed files with 7 additions and 5 deletions

View File

@@ -171,7 +171,7 @@ __usbhs_pkt_handler_end:
/******************** spin unlock ******************/
if (is_done) {
info->done(pkt);
info->done(priv, pkt);
usbhs_pkt_start(pipe);
}