diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2016-12-16 17:41:31 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-02-26 12:24:30 (GMT) |
commit | f11bb2524541556682b83ee694829208b960b56c (patch) | |
tree | 3aaa70cd0d24bcc086fc08481aff0896c29545a9 /drivers/reset | |
parent | 8987012fe5a8bc226d1b3f5187c152b8d85a2dcd (diff) | |
download | u-boot-fsl-qoriq-f11bb2524541556682b83ee694829208b960b56c.tar.xz |
usb: gadget: dfu: correct size for USB_REQ_DFU_GETSTATE result
return the correct size for DFU_GETSTATE result (1 byte in DFU 1.1 spec)
to avoid issue in USB protocol and the variable "value" is propagated
to req->lenght as all the in the other request with answer
- DFU_GETSTATUS
- DFU_DNLOAD
- DFU_UPLOAD
Then the buffer is correctly treated in USB driver
NB: it was the only request witch directly change "req->actual"
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions