]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaea58c4bbdcb894c7e1c5e70bcb0ab7d44875a19
tree70914063d236ad6db8a663bb09d0cd2a095e93c1
parent388f1b9f55793718e832181cae76ae3aaf4780e0
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