]> git.karo-electronics.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)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:53 +0000 (09:55 +0800)
commit59c69b40793cc3ad63ba683bdc62e88579d71fe8
tree41eca3596088a8379db24bf27be315148301c9f2
parent40e6ed9ba7ac438682c0e5c9326ff09400b7f52d
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/fsl_updater.c
drivers/usb/gadget/fsl_updater.h