diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-11 01:03:39 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 13:41:41 -0400 |
commit | 2cc971978c0cabcd7760f4431270088cda72d8df (patch) | |
tree | eb24d4e1c745e465c1fd67a54d5f55ab7bc7d009 /drivers/usb/renesas_usbhs/fifo.c | |
parent | 923520715b5a698271f8763e97eee65e21d5561e (diff) |
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>
Diffstat (limited to 'drivers/usb/renesas_usbhs/fifo.c')
-rw-r--r-- | drivers/usb/renesas_usbhs/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c index b9ab8aefcae0..9bf3a437ea0b 100644 --- a/drivers/usb/renesas_usbhs/fifo.c +++ b/drivers/usb/renesas_usbhs/fifo.c | |||
@@ -171,7 +171,7 @@ __usbhs_pkt_handler_end: | |||
171 | /******************** spin unlock ******************/ | 171 | /******************** spin unlock ******************/ |
172 | 172 | ||
173 | if (is_done) { | 173 | if (is_done) { |
174 | info->done(pkt); | 174 | info->done(priv, pkt); |
175 | usbhs_pkt_start(pipe); | 175 | usbhs_pkt_start(pipe); |
176 | } | 176 | } |
177 | 177 | ||