summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/mod_gadget.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-06-06 14:18:58 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 09:10:10 -0700
commit0cb7e61d16ac68a2c5dd73a00e211287848d16e7 (patch)
tree8b286df4f77aefd1ed73c97b61a71eb15dd3b6cf /drivers/usb/renesas_usbhs/mod_gadget.c
parent0432eed008024e0e90f16207ab406ac6ec877cac (diff)
usb: renesas_usbhs: tidyup pio handler name
This patch tidyup PIO packet handler name. This is a preparation for DMAEngine support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_gadget.c')
-rw-r--r--drivers/usb/renesas_usbhs/mod_gadget.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 3c582482ec4..89d2b16fbb1 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -309,10 +309,10 @@ static int usbhsg_irq_ctrl_stage(struct usbhs_priv *priv,
switch (stage) {
case READ_DATA_STAGE:
- dcp->handler = &usbhs_fifo_push_handler;
+ dcp->handler = &usbhs_fifo_pio_push_handler;
break;
case WRITE_DATA_STAGE:
- dcp->handler = &usbhs_fifo_pop_handler;
+ dcp->handler = &usbhs_fifo_pio_pop_handler;
break;
case NODATA_STATUS_STAGE:
dcp->handler = &usbhs_ctrl_stage_end_handler;
@@ -406,9 +406,9 @@ static int usbhsg_ep_enable(struct usb_ep *ep,
pipe->mod_private = uep;
if (usb_endpoint_dir_in(desc))
- uep->handler = &usbhs_fifo_push_handler;
+ uep->handler = &usbhs_fifo_pio_push_handler;
else
- uep->handler = &usbhs_fifo_pop_handler;
+ uep->handler = &usbhs_fifo_pio_pop_handler;
ret = 0;
}