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

Przemyslaw Marczak p.marczak at samsung.com
Tue May 6 08:30:59 CEST 2014


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: Przemyslaw Marczak <p.marczak at samsung.com>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Tom Rini <trini at ti.com>
>
> ---
> Changes v2:
> - separate fix and cleanup into two commits
>
> Changes v3:
> - download_tail(): add exit label
>
> Changes v4:
> - none
> ---

Could you look at those changes, please?

Thank you
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com


More information about the U-Boot mailing list