]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
udc: dfu: s3c_udc: Provide function to check if USB reset was asserted
authorLukasz Majewski <l.majewski@samsung.com>
Mon, 25 Aug 2014 09:07:29 +0000 (11:07 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 2 Sep 2014 12:29:28 +0000 (14:29 +0200)
commitf2ec4e34aa55c3d5553b69e8f6e7df140f3ef48a
treeca7d14df113526563b5fc23ab603ed82aea4a41e
parent1cc03c5c53c06a904ff1cea325e0202ab6313ee4
udc: dfu: s3c_udc: Provide function to check if USB reset was asserted

New dfu_usb_get_reset() method is necessary to distinct two different
use cases of dfu-util program.
This method checks if the USB bus reset has been really performed after
DFU DETACH.

Without this function the previous DFU behavior is preserved.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/s3c_udc_otg.c