usb: renesas_usbhs: use dma handler

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Kuninori Morimoto 2011-06-21 15:09:19 +09:00 committed by Greg Kroah-Hartman
parent 4ce6880563
commit 6d721b2946

View 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;
}