usb: renesas_usbhs: use dma handler
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 21 Jun 2011 06:09:19 +0000 (15:09 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:43:27 +0000 (14:43 -0700)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/renesas_usbhs/mod_gadget.c

index c9c56e7a1b1898dfd5bc5ac24900acbb13078cda..9a8e2e9141b285b42334682863b7b9fa12a753af 100644 (file)
@@ -474,9 +474,9 @@ static int usbhsg_ep_enable(struct usb_ep *ep,
                pipe->mod_private       = uep;
 
                if (usb_endpoint_dir_in(desc))
-                       uep->handler = &usbhs_fifo_pio_push_handler;
+                       uep->handler = &usbhs_fifo_dma_push_handler;
                else
-                       uep->handler = &usbhs_fifo_pio_pop_handler;
+                       uep->handler = &usbhs_fifo_dma_pop_handler;
 
                ret = 0;
        }