[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 devi

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

2013-03-13 Thread Cerrato Renaud
Inlined patch below. Signed-off-by: Cerrato Renaud --- 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 --- a/drivers/usb/gadget/dfu.c +++ b/drivers/usb/gadget

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

2013-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, please start a new thread with patch [0/x] and the patch series as reply use git-send-email for this Best Resgards, J. On 11:34 Wed 13 Mar , Cerrato Renaud wrote: > Inlined patch below. > > > Signed-off-by: Cerrato Renaud > --- > drivers/usb/gadg