Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-10 Thread Marek Vasut
On Friday, May 09, 2014 at 10:35:54 AM, Lukasz Majewski wrote: > Hi Przemyslaw, Marek, > > > Hello Marek, > > > > On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: > > > In thor's download_tail() function, dfu_get_entity() is called > > > before each dfu_write() call and the returned entity point

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-09 Thread Lukasz Majewski
Hi Przemyslaw, Marek, > Hello Marek, > > On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: > > In thor's download_tail() function, dfu_get_entity() is called > > before each dfu_write() call and the returned entity pointers > > are the same. So dfu_get_entity() can be called just once and > > thi

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-09 Thread Przemyslaw Marczak
Hello Marek, On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: In thor's download_tail() function, dfu_get_entity() is called before each dfu_write() call and the returned entity pointers are the same. So dfu_get_entity() can be called just once and this patch changes this. Signed-off-by: Przem

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-05 Thread Przemyslaw Marczak
Hello Heiko, On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: In thor's download_tail() function, dfu_get_entity() is called before each dfu_write() call and the returned entity pointers are the same. So dfu_get_entity() can be called just once and this patch changes this. Signed-off-by: Przem

[U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-04-28 Thread Przemyslaw Marczak
In thor's download_tail() function, dfu_get_entity() is called before each dfu_write() call and the returned entity pointers are the same. So dfu_get_entity() can be called just once and this patch changes this. Signed-off-by: Przemyslaw Marczak Cc: Lukasz Majewski Cc: Marek Vasut Cc: Heiko Sch