]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00140950 mfg: fix the bug that ubiformat utility breaks utp protocol
authorPeter Chen <peter.chen@freescale.com>
Tue, 22 Mar 2011 09:27:17 +0000 (17:27 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 2 Nov 2015 13:13:35 +0000 (14:13 +0100)
commita96e38ab56a524fb883f4a8302752dd17415d130
treedf595ff3b47137c17675c0365b99ba06441a22ce
parentfd61546e4be3836284933f730dfa5845055fdc6d
ENGR00140950 mfg: fix the bug that ubiformat utility breaks utp protocol

ubiformat includes command, data, command periods,
it breaks utp protocol for PUT commands. So we add two operations to fix it.
One is sending busy to host before the data periods begins.
The second is adding a new command to waiting ubiformat's command period.

Signed-off-by: Li Xingyu <b02754@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/gadget/function/fsl_updater.c
drivers/usb/gadget/function/fsl_updater.h