commit | adfc17bf09ba67cff11472ffa58fc0208defa29c | [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 | 08a98b89df39d25a1260f390c19be4649dfd303d [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>