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:

committed by
Felipe Balbi

parent
923520715b
commit
2cc971978c
@@ -171,7 +171,7 @@ __usbhs_pkt_handler_end:
|
||||
/******************** spin unlock ******************/
|
||||
|
||||
if (is_done) {
|
||||
info->done(pkt);
|
||||
info->done(priv, pkt);
|
||||
usbhs_pkt_start(pipe);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user