]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Fri, 30 Oct 2015 16:40:10 +0000 (17:40 +0100)
commit095f0c0270343d2b0a75321e5aef109673dd0088
treed43ca1d72bb4d2f546e0cc23fdb1f9c5a9512913
parent11efd100779acbdc71e2fc50b73a4ea0986388d3
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