]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: device DMA support on OMAP2
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 21 Nov 2007 23:13:15 +0000 (15:13 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:48 +0000 (14:34 -0800)
commit527ea73eaea4600120117edd19ac88864a488d57
tree4317766b607ea1353e3aaa47c744c61378c92224
parent568fdade1415196a4835a9add48586e36a044d82
USB: device DMA support on OMAP2

The current omap udc dosen't support the DMA mode and it has some problem
at setup time on OMAP2 with previous patch file.  I found that the code
assumes bulk out required the big data transfer.  But MODE SELECT(6) sent
the only 24 bytes.  it makes a problem.  So I implement the small packets
handling for it.

It is tested with both linux and windows.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/omap_udc.c