]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerMarek Vasut <marex@denx.de>
Tue, 2 Sep 2014 12:29:28 +0000 (14:29 +0200)
commit842ef9a98ef8643df87d3ae5664802cd5db2bca0
tree1cee8587565fbcc7679e43078cef0746d16622c3
parentf2ec4e34aa55c3d5553b69e8f6e7df140f3ef48a
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