]> 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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:54 +0000 (21:16 -0600)
commita4c8b73c2e8f04790f4dd2e2ff62f2276841e985
tree2f9837669800890850257d4a9b6f261b2972dcf6
parent40b6dde283e31a9906a5cd3c70c1b2dea8d22ebd
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