Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v1.14-branch] usb: usb_dfu: do not set bwPollTimeout dynamically #15966

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

backporting[bot]
Copy link

@backporting backporting bot commented May 7, 2019

Backport #15747.

Fixes #15497

Partially revert commit ea177e7
("usb: dfu: set bwPollTimeout dynamically")

Introduced fix does not work proper because there is no way to be
sure that a control stage had success before start erase process.
Instead IMG_ERASE_PROGRESSIVELY configuration should be used
if the erase of the flash takes longer time.

resolves: #15497

Signed-off-by: Johann Fischer <[email protected]>
@backporting backporting bot requested review from finikorg and jfischer-no as code owners May 7, 2019 12:38
@galak
Copy link
Collaborator

galak commented May 14, 2019

We need to think about this a bit more since the fix removes a Kconfig option. If some app happened to be utilizing that option we would end up possibly breaking behavior.

@nashif nashif merged commit c55d817 into v1.14-branch Jun 11, 2019
@nashif nashif deleted the backport-15747-to-v1.14-branch branch June 11, 2019 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants