Re: [PATCH 6/7] DFU : disable state fix

2013-03-13 Thread Cerrato Renaud
Inlined patch below. Signed-off-by: Cerrato Renaud r.cerr...@til-technologies.fr --- drivers/usb/gadget/dfu.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c index e051879..e4af567 100644 ---

[PATCH 6/7] DFU : disable state fix

2013-03-12 Thread Renaud C.
When an USB_REQ_DFU_DETACH request is received, the device state switch to DFU_STATE_appDETACH, and then wait for an usb reset to switch to DFU_STATE_dfuIDLE (through dfu_disable() being called). I noticed that using dfu-util v0.7 on my AT91SAM9260 board, the programming failed because of the