usb: renesas_usbhs: divide data transfer functions

DMAEngine will be supported to this driver in the future.
Then, both PIO and DMA data transfer method should be supported.
But, the transfer function can returns the result immediately
in PIO version, but it can't in DMA version.
This patch divides data transfer functions into top/bottom half
in preparation for DMAEngine support.

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-06 14:18:07 +09:00
committed by Greg Kroah-Hartman
parent e8d548d549
commit 4bd0481152
6 changed files with 151 additions and 61 deletions

View File

@@ -24,7 +24,6 @@ struct usbhs_priv;
#include "./mod.h"
#include "./pipe.h"
#include "./fifo.h"
/*
*