diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-10-16 17:26:38 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-11-08 20:46:20 +0100 |
commit | 31bae4c5d9e5e7eca70d64152441bc8290016560 (patch) | |
tree | 991494b43f261a2a3ad3989225edba522330e9ac /include/g_dnl.h | |
parent | c2617bc77323e75f68cc7aa6ce54bf39771f1e7a (diff) | |
download | u-boot-imx-31bae4c5d9e5e7eca70d64152441bc8290016560.zip u-boot-imx-31bae4c5d9e5e7eca70d64152441bc8290016560.tar.gz u-boot-imx-31bae4c5d9e5e7eca70d64152441bc8290016560.tar.bz2 |
usb: dfu: correct dfu buffer inited value
After dfu buffer is initialized, the buffer should be all available,
while not 0. Initialize its value to min(dfu_buf_size, dfu->r_left).
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/g_dnl.h')
0 files changed, 0 insertions, 0 deletions