commit | 13a41c814d8b34a5b2e8e9e4de32387b24cf7b0e | [log] [tgz] |
---|---|---|
author | Przemyslaw Marczak <p.marczak@samsung.com> | Fri Apr 18 09:48:24 2014 +0200 |
committer | Marek Vasut <marex@denx.de> | Wed Apr 30 10:30:57 2014 +0200 |
tree | f1a430da82229f30eccedb91fd2f07682bfd40e3 | |
parent | 17472dcc72689bdce9038b7df15bc425e53a5a97 [diff] |
usb:gadget:f_thor: code cleanup in function download_tail() 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@samsung.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com>