From: Lukasz Majewski Date: Fri, 4 May 2012 12:17:03 +0000 (+0200) Subject: usb:hsotg:samsung: NAK management for EP0 (Setup stage of control transfers) X-Git-Tag: v3.5-rc1~149^2~139^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71225beeeba2bde80aac02fadb5c197389fa12e4;p=pandora-kernel.git usb:hsotg:samsung: NAK management for EP0 (Setup stage of control transfers) For SETUP stage of USB control transmission, the NAK shall NOT be CLEAR. The SNAK/CNAK control is crucial for this type of driver, since data arrives to earlier defined requests. Tested with: - DFU gadget (various size of the sent data - also packet = MPS) - Ethernet gadget (CDC and RNDIS) - Multi Function Gadget (g_multi) HW: - Samsung's C210 Universal rev.0 Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed