Skip to content

Commit

Permalink
usb: renesas_usbhs: use dma handler
Browse files Browse the repository at this point in the history
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Kuninori Morimoto authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent 4ce6880 commit 6d721b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6d721b2

Please sign in to comment.