commit | 583334b60694064f794f8478bb4b7418cad0d7d6 | [log] [tgz] |
---|---|---|
author | Johann Fischer <johann.fischer@nordicsemi.no> | Mon Apr 19 15:42:30 2021 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Apr 20 15:04:47 2021 +0200 |
tree | 1c2e18a7d21561d4b0061ac7f2cfaa34ec6aa0c7 | |
parent | 05ccdd7c4086d940d2cfd311ae8102f2d905b6e7 [diff] |
drivers: usb_dc_nrfx: clear endpoint flags during ep_disable() If a loaded endpoint was disabled and then reconfigured, it is not possible to start an IN transfer and usb_dc_ep_write() returns -EAGAIN. Call ep_ctx_reset() to clear endpoint operations flags and reset buffer after endpoint is disabled. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>