usb: pch_udc: Fixed issue which does not work with g_ether
authorToshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Mon, 7 Feb 2011 08:01:26 +0000 (17:01 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:47:54 +0000 (10:47 -0800)
commitc17f459c6ea5b569825445279fa21adb3cf3067f
tree70914063d236ad6db8a663bb09d0cd2a095e93c1
parent4f22ce7045c16e36d391fdfe331a397d55578493
usb: pch_udc: Fixed issue which does not work with g_ether

This PCH_UDC driver does not work normally when "Ethernet gadget" is used.

This patch fixed this issue.
The following was modified.
 - The FIFO flush process.
 - The descriptor creation process.
 - The adjustment of DMA buffer align.

Currently the PCH_UDC driver can work normally with "Ethernet gadget",
"Serial gadget" or "File-backed Storage Gadget".

Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pch_udc.c