diff options
| author | Heiko Schocher <[email protected]> | 2013-06-25 13:59:29 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2013-06-30 18:41:07 +0200 |
| commit | ad5f9778896534d9eae0c7499bcf5386e675257e (patch) | |
| tree | c6a41b2f71ff36d49073c8ceb655c8691dde0c0a /include/linux | |
| parent | 12595e99e40ba4d0a08744e375f4e2144dc5acb6 (diff) | |
usb, dfu gadget: switch to dfu mode in dfu_bind
- set in to_dfu_mode() f_dfu->dfu_state = DFU_STATE_dfuIDLE
as after every to_dfu_mode call this is done, so move
this into to_dfu_mode
- switch in dfu_bind() into dfu mode:
This fixes wrong "dfu-util -l" output, when calling
"dfu-util -l" after a board reset, without doing a
download before. See also discussion here:
http://lists.denx.de/pipermail/u-boot/2013-June/157272.html
Signed-off-by: Heiko Schocher <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Samuel Egli <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
Tested-by: Lukasz Majewski <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
