summaryrefslogtreecommitdiff
path: root/drivers/i2c/intel_i2c.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2016-12-16 18:41:31 +0100
committerMarek Vasut <marex@denx.de>2017-02-26 13:24:30 +0100
commitf11bb2524541556682b83ee694829208b960b56c (patch)
tree3aaa70cd0d24bcc086fc08481aff0896c29545a9 /drivers/i2c/intel_i2c.c
parent8987012fe5a8bc226d1b3f5187c152b8d85a2dcd (diff)
downloadu-boot-imx-f11bb2524541556682b83ee694829208b960b56c.zip
u-boot-imx-f11bb2524541556682b83ee694829208b960b56c.tar.gz
u-boot-imx-f11bb2524541556682b83ee694829208b960b56c.tar.bz2
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/i2c/intel_i2c.c')
0 files changed, 0 insertions, 0 deletions