]> git.baikalelectronics.ru Git - uboot.git/commit
usb: gadget: dfu: add result for handle_getstatus()
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 16 Dec 2016 17:41:32 +0000 (18:41 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 26 Feb 2017 12:24:30 +0000 (13:24 +0100)
commit714a08d5d0a645c5f4913878cbcdbdfbb725a68c
tree64a6dadc1761ccc14dab837f764866a215fa1493
parentfa47969f9dbaf9ad4afeb498ac9bf37cbe7cc698
usb: gadget: dfu: add result for handle_getstatus()

harmonize result with other handle_XXX() functions: return int for size
remove the define RET_STAT_LEN : no more necessary

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
drivers/usb/gadget/f_dfu.c
drivers/usb/gadget/f_dfu.h