]> 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>
Thu, 12 Mar 2015 13:16:49 +0000 (14:16 +0100)
commitafd1637befae53a0c2dba31faaea09d6f35188f3
treea3733ce0f86259d7af5aff3926002b07f853edcc
parentb1bb0b5cef2ea30ca444304afb2187178e843518
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