Re: [U-Boot] [PATCH 1/2] musb-new, dfu: first send request answer then call completions

2014-05-08 Thread Lukasz Majewski
Hi Heiko, comment in ep0_txstate() states: report completions as soon as the fifo's loaded; there's no win in waiting till this last packet gets acked. This is wrong for using dfu. In the dfu usecase we must send a PollTimeout to the host, so the host can wait until the U-Boot Code is

Re: [U-Boot] [PATCH 1/2] musb-new, dfu: first send request answer then call completions

2014-04-10 Thread Marek Vasut
On Thursday, April 10, 2014 at 07:08:05 AM, Heiko Schocher wrote: comment in ep0_txstate() states: report completions as soon as the fifo's loaded; there's no win in waiting till this last packet gets acked. This is wrong for using dfu. In the dfu usecase we must send a PollTimeout to

[U-Boot] [PATCH 1/2] musb-new, dfu: first send request answer then call completions

2014-04-09 Thread Heiko Schocher
comment in ep0_txstate() states: report completions as soon as the fifo's loaded; there's no win in waiting till this last packet gets acked. This is wrong for using dfu. In the dfu usecase we must send a PollTimeout to the host, so the host can wait until the U-Boot Code is ready for answering