From: Toshiharu Okada Date: Wed, 29 Dec 2010 01:07:33 +0000 (+0900) Subject: usb: pch_udc: Fixed issue which does not work with g_serial X-Git-Tag: v2.6.38-rc3~7^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abab0c67c061612cf559ab27ce1340774d7c292d;p=pandora-kernel.git usb: pch_udc: Fixed issue which does not work with g_serial This PCH_UDC driver does not work normally when "Serial gadget" is used. The receiving data of control transmission (EP0 Control OUT Transaction) has not received correctly. This patch fixed this issue. The following was modified. - The buffer size. - The change processing of a receiving buffer (The temporary buffer and the buffer prepared by gadget). - The setup processing of a DMA descriptor. Currently the PCH_UDC driver can work normally with "Serial gadget" or "File-backed Storage Gadget". Signed-off-by: Toshiharu Okada Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed