]> code.ossystems Code Review - bsp/u-boot.git/commit
usb: ci_udc: implement dfu_usb_get_reset
authorStephen Warren <swarren@nvidia.com>
Mon, 25 Aug 2014 20:02:15 +0000 (14:02 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Sep 2014 15:30:35 +0000 (12:30 -0300)
commitfca8b5aece70eb3d6290487d76ec930189bba8a3
tree9e33a69e12b126394973effc7012fabc2eb57c01
parent7baddeaa8ed46b67908ccf1a44bc9660a4716343
usb: ci_udc: implement dfu_usb_get_reset

This allows the USB code to determine whether a USB bus reset was issued,
which in turn allows the code to differentiate between a detach (return
to shell prompt) and a board reset/reboot request.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/gadget/ci_udc.c